mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-02 17:09:58 +01: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)
|
if (enabled == null)
|
||||||
{
|
{
|
||||||
throw new NotEnoughArgumentsException();
|
enabled = !user.isSocialSpyEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
user.setSocialSpyEnabled(enabled);
|
user.setSocialSpyEnabled(enabled);
|
||||||
|
Loading…
Reference in New Issue
Block a user