Meteor #324
@ -106,8 +106,7 @@ public class PercentWincondition extends Wincondition implements PrintableWincon
|
||||
|
||||
@EventHandler
|
||||
public void onEntityExplode(EntityExplodeEvent event) {
|
||||
if (event.getEntityType() != EntityType.FIREBALL) {
|
||||
if (explosionFilter.getAsBoolean() || !team.getExtendRegion().inRegion(event.getEntity().getLocation())) {
|
||||
if (event.getEntityType() == EntityType.FIREBALL || explosionFilter.getAsBoolean() || !team.getExtendRegion().inRegion(event.getEntity().getLocation())) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -119,7 +118,6 @@ public class PercentWincondition extends Wincondition implements PrintableWincon
|
||||
|
||||
checkWin.accept(team);
|
||||
}
|
||||
}
|
||||
|
||||
private void enable() {
|
||||
totalBlocks = totalBlockCalc.applyAsInt(team);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren