diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java b/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java index 6080642a1..86ae15fc8 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java @@ -1,19 +1,13 @@ package com.earth2me.essentials.commands; import static com.earth2me.essentials.I18n._; -import com.earth2me.essentials.User; -import org.bukkit.Server; +import com.earth2me.essentials.api.IUser; public class Commandsocialspy extends EssentialsCommand { - public Commandsocialspy() - { - super("socialspy"); - } - @Override - public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception + public void run(final IUser user, final String commandLabel, final String[] args) throws Exception { user.sendMessage("ยง7SocialSpy " + (user.toggleSocialSpy() ? _("enabled") : _("disabled"))); } |