fixed an eventgame bug
This commit is contained in:
parent
6762e4b537
commit
e3eb62887d
@ -798,12 +798,12 @@ public class EventGame extends SoloGame
|
|||||||
if (args[1].equalsIgnoreCase("add"))
|
if (args[1].equalsIgnoreCase("add"))
|
||||||
{
|
{
|
||||||
UtilServer.getServer().getWhitelistedPlayers().add(target);
|
UtilServer.getServer().getWhitelistedPlayers().add(target);
|
||||||
UtilPlayer.message(player, F.main("Whitelist", "Added " + args[1] + " to the whitelist."));
|
UtilPlayer.message(player, F.main("Whitelist", "Added " + args[2] + " to the whitelist."));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
UtilServer.getServer().getWhitelistedPlayers().remove(target);
|
UtilServer.getServer().getWhitelistedPlayers().remove(target);
|
||||||
UtilPlayer.message(player, F.main("Whitelist", "Removed " + args[1] + " to the whitelist."));
|
UtilPlayer.message(player, F.main("Whitelist", "Removed " + args[2] + " to the whitelist."));
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user