Rename the movein command class

This commit is contained in:
Torrie Fischer 2012-04-25 16:33:37 -04:00
parent 2507e9615a
commit 5cbc8a5876
2 changed files with 3 additions and 3 deletions

View File

@ -24,11 +24,11 @@ import org.bukkit.command.Command;
import org.bukkit.entity.Player;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
public class MoveinRegionCommand implements CommandExecutor {
public class MoveinCommand implements CommandExecutor {
Plugin m_plugin;
public MoveinRegionCommand(Plugin p) {
public MoveinCommand(Plugin p) {
m_plugin = p;
}

View File

@ -58,7 +58,7 @@ public class Plugin extends JavaPlugin {
getCommand("region").setExecutor(regionCommand);
getCommand("cityregion").setExecutor(new CityRegionCommand(this));
getCommand("homeregion").setExecutor(new HomeRegionCommand(this));
getCommand("movein").setExecutor(new MoveinRegionCommand(this));
getCommand("movein").setExecutor(new MoveinCommand(this));
getServer().getPluginManager().registerEvents(new BukkitEventHandler(this), this);