From cfc6ed93641621f41dd17830506b56dc460d2499 Mon Sep 17 00:00:00 2001 From: Necrodoom Date: Wed, 26 Jun 2013 09:56:56 +0300 Subject: [PATCH] fix socialspy toggles --- .../src/com/earth2me/essentials/commands/Commandsocialspy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java b/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java index 12cf46ecc..7796806b6 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java @@ -49,7 +49,7 @@ public class Commandsocialspy extends EssentialsToggleCommand { if (enabled == null) { - throw new NotEnoughArgumentsException(); + enabled = !user.isSocialSpyEnabled(); } user.setSocialSpyEnabled(enabled);