diff --git a/src/main/java/fr/sunderia/bomberman/PrimedTntEntity.java b/src/main/java/fr/sunderia/bomberman/PrimedTntEntity.java index 1828d8d..a4334fe 100644 --- a/src/main/java/fr/sunderia/bomberman/PrimedTntEntity.java +++ b/src/main/java/fr/sunderia/bomberman/PrimedTntEntity.java @@ -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() {