This commit is contained in:
Sollace 2021-03-03 20:09:06 +02:00
parent afd437d9cf
commit 8d0552995b

View file

@ -18,7 +18,7 @@ public class SilverfishBehaviour extends EntityBehaviour<SilverfishEntity> {
if (StateMaps.SILVERFISH_AFFECTED.canConvert(state)) { if (StateMaps.SILVERFISH_AFFECTED.canConvert(state)) {
entity.world.setBlockState(pos, StateMaps.SILVERFISH_AFFECTED.getConverted(state)); entity.world.setBlockState(pos, StateMaps.SILVERFISH_AFFECTED.getConverted(entity.world, state));
WorldEvent.play(WorldEvent.DESTROY_BLOCK, entity.world, pos, state); WorldEvent.play(WorldEvent.DESTROY_BLOCK, entity.world, pos, state);
} }
} }