Skip to content

Commit

Permalink
Fixed TNT freezing game
Browse files Browse the repository at this point in the history
  • Loading branch information
Minemobs committed Jun 7, 2024
1 parent 8592903 commit fd486c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/fr/sunderia/bomberman/PrimedTntEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void update(long time) {
explode();
getInstance().setBlock(this.position, Block.AIR);
remove();
pierceTeam.removeMember(this.uuid.toString());
if(pierceTeam.getMembers().contains(this.uuid.toString())) pierceTeam.removeMember(this.uuid.toString());
}

public boolean isAPierceBomb() {
Expand Down

0 comments on commit fd486c3

Please sign in to comment.