Fixing the message for when you toggle mcchatspy

This commit is contained in:
nossr50 2019-01-03 01:44:29 -08:00
parent 85e1f2eb7e
commit b34f3a1779

View File

@ -19,7 +19,7 @@ public class McChatSpy extends ToggleCommand {
@Override
protected void applyCommandAction(McMMOPlayer mcMMOPlayer) {
mcMMOPlayer.getPlayer().sendMessage(LocaleLoader.getString("Commands.AdminChatSpy." + (mcMMOPlayer.getGodMode() ? "Disabled" : "Enabled")));
mcMMOPlayer.getPlayer().sendMessage(LocaleLoader.getString("Commands.AdminChatSpy." + (mcMMOPlayer.isPartyChatSpying() ? "Disabled" : "Enabled")));
mcMMOPlayer.togglePartyChatSpying();
}