Merge remote-tracking branch 'origin/master'

This commit is contained in:
pixlepix committed 2014-06-02 08:47:48 -04:00
commit 77c8ef4c3a
2 files changed
+39 -39

No files matched your search

@@ -114,7 +114,7 @@ public class ItemCleansingTalisman extends ItemMod implements IBauble {
} else for(PotionEffect potion : potions) {
int id = potion.getPotionID();
boolean badEffect=false;
badEffect=ReflectionHelper.getPrivateValue(Potion.class,Potion.potionTypes[id],new String[]{"isBadEffect"});
badEffect=ReflectionHelper.getPrivateValue(Potion.class,Potion.potionTypes[id],new String[]{"isBadEffect","field_76418_K"});
if(badEffect) {
player.removePotionEffect(id);
removed = true;