Skip to content

Commit

Permalink
Update BlockFire.java
Browse files Browse the repository at this point in the history
  • Loading branch information
PetteriM1 authored Oct 24, 2023
1 parent 2b47730 commit 17f0d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/block/BlockFire.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 17f0d69

Please sign in to comment.