diff --git a/src/main/java/cn/citycraft/SimpleEssential/command/CommandWorld.java b/src/main/java/cn/citycraft/SimpleEssential/command/CommandWorld.java index cb58186..1565809 100644 --- a/src/main/java/cn/citycraft/SimpleEssential/command/CommandWorld.java +++ b/src/main/java/cn/citycraft/SimpleEssential/command/CommandWorld.java @@ -50,7 +50,7 @@ public class CommandWorld extends BaseCommand { sender.sendMessage(I18n.p("World.info", wd.getName(), wd.getEnvironment().toString(), wd.getLoadedChunks().length, wd.getEntities().size(), tileEntities, wd.getPlayers().size())); } case 1: - final World wd = Bukkit.getWorld(args[1]); + final World wd = Bukkit.getWorld(args[0]); if (wd != null) { if (sender instanceof Player) { ((Player) sender).teleport(wd.getSpawnLocation());