Doh, actually find what world we want to check properly with mancheckw.

This commit is contained in:
ElgarL 2013-01-29 16:56:03 +00:00
parent 132aa0cc1d
commit 6ea956b11c

View File

@ -1952,7 +1952,17 @@ public class GroupManager extends JavaPlugin {
return false; return false;
} }
auxString = "";
for (int i = 0; i < args.length; i++) {
if (args[i] == null) {
logger.warning("Bukkit gave invalid arguments array! Cmd: " + cmd.getName() + " args.length: " + args.length);
return false;
}
auxString += args[i];
if (i < (args.length - 1)) {
auxString += " ";
}
}
dataHolder = worldsHolder.getWorldData(auxString); dataHolder = worldsHolder.getWorldData(auxString);
sender.sendMessage(ChatColor.YELLOW + "You have selected world '" + dataHolder.getName() + "'."); sender.sendMessage(ChatColor.YELLOW + "You have selected world '" + dataHolder.getName() + "'.");