1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-09 08:06:54 +02:00

fix socialspy toggles

This commit is contained in:
Necrodoom
2013-06-26 09:56:56 +03:00
parent e895587700
commit f71df5681c

View File

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