diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandantioch.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandantioch.java | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandantioch.java b/Essentials/src/com/earth2me/essentials/commands/Commandantioch.java index 968d0012c..eea30448d 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandantioch.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandantioch.java @@ -1,21 +1,15 @@ package com.earth2me.essentials.commands; -import com.earth2me.essentials.User; -import com.earth2me.essentials.Util; +import com.earth2me.essentials.api.IUser; +import com.earth2me.essentials.utils.LocationUtil; import org.bukkit.Location; -import org.bukkit.Server; import org.bukkit.entity.TNTPrimed; public class Commandantioch extends EssentialsCommand { - public Commandantioch() - { - super("antioch"); - } - @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 { if (args.length > 0) { @@ -23,7 +17,7 @@ public class Commandantioch extends EssentialsCommand ess.broadcastMessage(user, "who being naughty in My sight, shall snuff it."); } - final Location loc = Util.getTarget(user); + final Location loc = LocationUtil.getTarget(user); loc.getWorld().spawn(loc, TNTPrimed.class); } } |