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

This commit is contained in:
Lex Manos 2013-12-23 20:47:07 -08:00
parent 8ca1179e04
commit ecf8d29724
1 changed files with 1 additions and 1 deletions

View File

@ -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);
+ }
+
+ /**