mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Whoops
This commit is contained in:
parent
afd437d9cf
commit
8d0552995b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue