Rename the movein command class
This commit is contained in:
parent
89886db5c3
commit
7b227de464
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user