mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Fixing the message for when you toggle mcchatspy
This commit is contained in:
parent
85e1f2eb7e
commit
b34f3a1779
@ -19,7 +19,7 @@ public class McChatSpy extends ToggleCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void applyCommandAction(McMMOPlayer mcMMOPlayer) {
|
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();
|
mcMMOPlayer.togglePartyChatSpying();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user