mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 09:05:01 +02:00
fix socialspy toggles
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user