Fixed high grass poisoning the player instead of poison ivy

This commit is contained in:
Matt Caughey 2013-05-08 10:40:47 -04:00
parent d87db66d6a
commit 3ffcb962ba

View file

@ -170,7 +170,7 @@ public class BlockBOPFoliage extends BlockFlower implements IShearable
{
int meta = par1World.getBlockMetadata(x, y, z);
if (!par1World.isRemote && meta == 6 && par5Entity instanceof EntityLiving)
if (!par1World.isRemote && meta == 7 && par5Entity instanceof EntityLiving)
((EntityLiving)par5Entity).addPotionEffect(new PotionEffect(Potion.poison.id, 200));
}