mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-11-28 16:06:07 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user