summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandsetspawn.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandsetspawn.java')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandsetspawn.java23
1 files changed, 0 insertions, 23 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandsetspawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandsetspawn.java
deleted file mode 100644
index c6c89a20d..000000000
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandsetspawn.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package com.earth2me.essentials.spawn;
-
-import static com.earth2me.essentials.I18n._;
-import com.earth2me.essentials.User;
-import com.earth2me.essentials.commands.EssentialsCommand;
-import org.bukkit.Server;
-
-
-public class Commandsetspawn extends EssentialsCommand
-{
- public Commandsetspawn()
- {
- super("setspawn");
- }
-
- @Override
- public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
- {
- final String group = args.length > 0 ? getFinalArg(args, 0) : "default";
- ((SpawnStorage)module).setSpawn(user.getLocation(), group);
- user.sendMessage(_("spawnSet", group));
- }
-}