1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +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) if (enabled == null)
{ {
throw new NotEnoughArgumentsException(); enabled = !user.isSocialSpyEnabled();
} }
user.setSocialSpyEnabled(enabled); user.setSocialSpyEnabled(enabled);