- Stuff for chiss
This commit is contained in:
parent
c7297a7a38
commit
1274dc860d
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user