Add "for Team X" when picking up the Arrow powerup

This commit is contained in:
Sam 2016-07-28 20:19:50 +01:00
parent ba03051689
commit 446aec5187

View File

@ -103,7 +103,7 @@ public class PowerupGenerator
_location.getBlock().getRelative(BlockFace.DOWN).setType(Material.IRON_BLOCK);
UtilPlayer.message(player, F.main("Game", "You collected the " + C.mItem + "Arrow" + C.cGray + " powerup."));
UtilServer.broadcast(C.cYellowB + player.getName() + C.cWhiteB + " collected the " + C.cYellowB + "Arrow" + C.cWhiteB + " Powerup.");
UtilServer.broadcast(C.cYellowB + player.getName() + C.cWhiteB + " collected the " + C.cYellowB + "Arrow" + C.cWhiteB + " Powerup for Team " + gameTeam.GetFormattedName() + C.cWhiteB + ".");
UtilFirework.playFirework(_location, Type.BALL_LARGE, Color.YELLOW, false, true);