mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-06 04:58:00 +02:00
fix socialspy toggles
This commit is contained in:
parent
3de3f00b11
commit
cfc6ed9364
@ -49,7 +49,7 @@ public class Commandsocialspy extends EssentialsToggleCommand
|
||||
{
|
||||
if (enabled == null)
|
||||
{
|
||||
throw new NotEnoughArgumentsException();
|
||||
enabled = !user.isSocialSpyEnabled();
|
||||
}
|
||||
|
||||
user.setSocialSpyEnabled(enabled);
|
||||
|
Loading…
Reference in New Issue
Block a user