summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandvanish.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandvanish.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandvanish.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandvanish.java b/Essentials/src/com/earth2me/essentials/commands/Commandvanish.java
index b55bd76a4..032631056 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandvanish.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandvanish.java
@@ -1,21 +1,14 @@
package com.earth2me.essentials.commands;
import static com.earth2me.essentials.I18n._;
-import com.earth2me.essentials.User;
-import org.bukkit.ChatColor;
-import org.bukkit.Server;
+import com.earth2me.essentials.api.IUser;
import org.bukkit.entity.Player;
public class Commandvanish extends EssentialsCommand
{
- public Commandvanish()
- {
- super("vanish");
- }
-
@Override
- protected void run(Server server, User user, String commandLabel, String[] args) throws Exception
+ protected void run(IUser user, String commandLabel, String[] args) throws Exception
{
if (user.isVanished())
{