1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 19:44:15 +02:00

fix socialspy toggles

This commit is contained in:
Necrodoom
2013-06-26 09:56:56 +03:00
parent fb654d6d2f
commit 4e46879a4e

View File

@@ -49,7 +49,7 @@ public class Commandsocialspy extends EssentialsToggleCommand
{
if (enabled == null)
{
throw new NotEnoughArgumentsException();
enabled = !user.isSocialSpyEnabled();
}
user.setSocialSpyEnabled(enabled);