Add prefixes to commands

This commit is contained in:
Andrzej Pomirski 2014-05-24 11:50:27 +02:00
parent a1a688c110
commit bdecaa1727

View File

@ -36,9 +36,9 @@ public class Toggle implements CommandExecutor {
}
if (setIgnoring(player, !toggledPlayers.contains(player.getName()))) {
player.sendMessage(Messages.TOGGLE_MESSAGES_OFF);
player.sendMessage(Messages.prefix(Messages.TOGGLE_MESSAGES_OFF));
} else {
player.sendMessage(Messages.TOGGLE_MESSAGES_ON);
player.sendMessage(Messages.prefix(Messages.TOGGLE_MESSAGES_ON));
}
return true;