Aechor plants no longer disappear when attacked with a gravitite sword.

This commit is contained in:
bconlon 2021-02-23 16:37:58 -08:00
parent c29ef250a6
commit 8396db1ebc

View file

@ -100,7 +100,7 @@ public class EntityAechorPlant extends EntityAetherAnimal {
}
if (this.worldObj.getBlock(MathHelper.floor_double(this.posX), MathHelper.floor_double(this.posY) - 1, MathHelper.floor_double(this.posZ)) != BlocksAether.aether_grass) {
this.setDead();
this.setHealth(0.0F);
}
}