- Stuff for chiss

This commit is contained in:
AlexTheCoder 2015-11-20 18:40:20 -05:00
parent c7297a7a38
commit 1274dc860d
2 changed files with 11 additions and 4 deletions

View File

@ -461,6 +461,8 @@ public class CaptureTheFlag extends TeamGame
{
if (!getFlag(true).isAtHome())
Scoreboard.Write(C.cRed + redMessage);
else
Scoreboard.Write(redMessage);
}
else
{
@ -485,6 +487,8 @@ public class CaptureTheFlag extends TeamGame
{
if (!getFlag(false).isAtHome())
Scoreboard.Write(C.cAqua + blueMessage);
else
Scoreboard.Write(blueMessage);
}
else
{

View File

@ -410,10 +410,13 @@ public class Flag
if (!_host.isAtHome(_team.GetColor() == ChatColor.RED ? ChatColor.BLUE : ChatColor.RED))
{
if (Recharge.Instance.use(player, "No Cap Message", 1000, false, false))
UtilTextMiddle.display("", C.cRed + "Your flag must be at home to capture!", player);
return;
if (_host.getArcadeManager().IsTournamentServer())
{
if (Recharge.Instance.use(player, "No Cap Message", 1000, false, false))
UtilTextMiddle.display("", C.cRed + "Your flag must be at home to capture!", player);
return;
}
}
_host.resetInventory(player);