mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
Add prefixes to commands
This commit is contained in:
parent
a1a688c110
commit
bdecaa1727
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user