meta r bad

reeeeeeeeeeeeeeeeeeeeeeeeeee
This commit is contained in:
Brennan Ward 2018-03-22 16:58:53 -04:00
parent 8843cd325e
commit b0efb95e4d

View file

@ -110,7 +110,7 @@ public class EntityWorm extends Entity{
plantBlock.updateTick(this.world, plant, plantState, this.world.rand);
IBlockState newState = this.world.getBlockState(plant);
if(newState.getBlock().getMetaFromState(newState) != plantBlock.getMetaFromState(plantState)){
if(newState != plantState){
this.world.playEvent(2005, plant, 0);
}
}