From bdecaa17273b623241bf08d36ee7b8ef84405f56 Mon Sep 17 00:00:00 2001 From: Andrzej Pomirski Date: Sat, 24 May 2014 11:50:27 +0200 Subject: [PATCH] Add prefixes to commands --- src/main/java/com/Acrobot/ChestShop/Commands/Toggle.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/Acrobot/ChestShop/Commands/Toggle.java b/src/main/java/com/Acrobot/ChestShop/Commands/Toggle.java index 087dadd..1064e3c 100644 --- a/src/main/java/com/Acrobot/ChestShop/Commands/Toggle.java +++ b/src/main/java/com/Acrobot/ChestShop/Commands/Toggle.java @@ -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;