Make /lose available for all to use on QA testing
This commit is contained in:
parent
fc50c90301
commit
0b5e409ab8
@ -200,7 +200,6 @@ public class BawkBawkBattles extends TeamGame implements IThrown
|
||||
"Last player with lives wins.",
|
||||
});
|
||||
|
||||
// Damage = false;
|
||||
DamagePvP = false;
|
||||
DamagePvE = false;
|
||||
DamageEvP = false;
|
||||
@ -394,10 +393,6 @@ public class BawkBawkBattles extends TeamGame implements IThrown
|
||||
|
||||
boolean criteria = participants >= minCount && participants <= maxCount;
|
||||
|
||||
System.out.println("Participants: " + participants);
|
||||
System.out.println("Min: " + minCount);
|
||||
System.out.println("Max: " + maxCount);
|
||||
|
||||
if (settings.isTeamBased())
|
||||
{
|
||||
return criteria && getPlayersWithRemainingLives() % 2 == 0;
|
||||
@ -1457,7 +1452,9 @@ public class BawkBawkBattles extends TeamGame implements IThrown
|
||||
|
||||
event.setCancelled(true);
|
||||
}
|
||||
else if (message.startsWith("/" + _loseCommand))
|
||||
}
|
||||
|
||||
if (message.startsWith("/" + _loseCommand))
|
||||
{
|
||||
if (IsLive() && _challenge != null && IsAlive(player))
|
||||
{
|
||||
@ -1475,7 +1472,6 @@ public class BawkBawkBattles extends TeamGame implements IThrown
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@EventHandler
|
||||
|
Loading…
Reference in New Issue
Block a user