diff --git a/src/main/java/cn/nukkit/block/BlockFire.java b/src/main/java/cn/nukkit/block/BlockFire.java index 1bbc3538446..4d1eeb3458f 100644 --- a/src/main/java/cn/nukkit/block/BlockFire.java +++ b/src/main/java/cn/nukkit/block/BlockFire.java @@ -77,8 +77,8 @@ public void onEntityCollide(Entity entity) { if (!event.isCancelled()) { this.level.setBlock(this, event.getNewState(), true); } + return; } - return; } if (!entity.hasEffect(Effect.FIRE_RESISTANCE)) {