fixed full msg

This commit is contained in:
Mini-Chiss 2015-08-12 12:42:59 +02:00
parent 5293e24469
commit d1302e8dc3

View File

@ -423,15 +423,14 @@ public class SoccerManager extends MiniPlugin
if (Recharge.Instance.use(player, "Soccer Eject", 5000, false, false)) if (Recharge.Instance.use(player, "Soccer Eject", 5000, false, false))
{ {
if (_active.size() >= 8) if (_active.size() < 8)
{ {
UtilPlayer.message(player, F.main("Soccer", "You must be wearing Red/Blue Team Outfit.")); UtilPlayer.message(player, F.main("Soccer", "You must be wearing Red/Blue Team Outfit."));
UtilPlayer.message(player, F.main("Soccer", "Type " + F.elem("/team red") + " or " + F.elem("/team blue") + "!")); UtilPlayer.message(player, F.main("Soccer", "Type " + F.elem("/team red") + " or " + F.elem("/team blue") + "!"));
} }
else else
{ {
UtilPlayer.message(player, F.main("Soccer", "You must be wearing Red/Blue Team Outfit.")); UtilPlayer.message(player, F.main("Soccer", "The game is currently full!"));
UtilPlayer.message(player, F.main("Soccer", "Type " + F.elem("/team red") + " or " + F.elem("/team blue") + "!"));
} }
} }
} }