mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Fixed accedential inverted logic that caused Potions to render incorrectly. Thanks iChun.
This commit is contained in:
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);
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
|
||||
Reference in new issue
Block a user