public World getCmdWorld(CommandSender sender, String args) {if (args==" ") {if (sender instanceof Player) {return Bukkit.getServer().getPlayer(sender.getName()).getLocation().getWorld();} else {sender.sendMessage(ChatColor.RED + "Needs World Argument!");return null;}}World world = Bukkit.getServer().getWorld(args);if (world==null) {sender.sendMessage(ChatColor.RED + "unknown World!");return null;}return world;}