Fixed high grass poisoning the player instead of poison ivy
This commit is contained in:
parent
d87db66d6a
commit
3ffcb962ba
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue