Fixed accedential inverted logic that caused Potions to render incorrectly. Thanks iChun.

This commit is contained in:
Lex Manos committed 2013-12-23 20:47:07 -08:00
1 parent 8ca1179e04
commit ecf8d29724
1 file changed
+1 -1
@@ -563,7 +563,7 @@
+ @SideOnly(Side.CLIENT)
+ public boolean hasEffect(ItemStack par1ItemStack, int pass)
+ {
+ return hasEffect(par1ItemStack) && (pass == 0 || this == Items.potionitem);
+ return hasEffect(par1ItemStack) && (pass == 0 || this != Items.potionitem);
+ }
+
+ /**