forked from SteamWar/SteamWar
Pot fix for WinconditionBasePercent
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ public abstract class WinconditionBasePercent extends Wincondition implements Pr
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void onEntityExplode(EntityExplodeEvent event) {
|
public void onEntityExplode(EntityExplodeEvent event) {
|
||||||
if (
|
if (
|
||||||
event.getEntityType() == EntityType.FIREBALL ||
|
event.getEntityType() != EntityType.PRIMED_TNT ||
|
||||||
!team.getExtendRegion().inRegion(event.getEntity().getLocation()) ||
|
!team.getExtendRegion().inRegion(event.getEntity().getLocation()) ||
|
||||||
(!Config.GameModeConfig.WinConditionParams.PercentEntern && !Config.GameModeConfig.EnterStages.isEmpty() && Config.GameModeConfig.EnterStages.get(0) >= Wincondition.getTimeOverCountdown().getTimeLeft())
|
(!Config.GameModeConfig.WinConditionParams.PercentEntern && !Config.GameModeConfig.EnterStages.isEmpty() && Config.GameModeConfig.EnterStages.get(0) >= Wincondition.getTimeOverCountdown().getTimeLeft())
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user