diff options
author | Necrodoom <doomed.war@gmail.com> | 2013-06-26 09:56:56 +0300 |
---|---|---|
committer | Necrodoom <doomed.war@gmail.com> | 2013-06-26 09:56:56 +0300 |
commit | cfc6ed93641621f41dd17830506b56dc460d2499 (patch) | |
tree | 5088ef1bc42cae8269bf57753417da16e52fb2df | |
parent | 3de3f00b11ad2b245dc8c697c42f5c6def20c564 (diff) | |
download | Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar.gz Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar.lz Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar.xz Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.zip |
fix socialspy toggles
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |