A broadcast is not needed if we're not doing anything

This commit is contained in:
Eric Stokes 2012-10-21 18:57:54 -06:00
parent dbe9494dbf
commit 1c5c792cf3

View File

@ -104,7 +104,7 @@ public class CreateCommand extends MultiverseCommand {
} }
if (this.worldManager.getChunkGenerator(genarray.get(0), genarray.get(1), "test") == null) { if (this.worldManager.getChunkGenerator(genarray.get(0), genarray.get(1), "test") == null) {
// We have an invalid generator. // We have an invalid generator.
Command.broadcastCommandMessage(sender, "Invalid generator! '" + generator + "'. " + ChatColor.RED + "Aborting world creation."); sender.sendMessage("Invalid generator! '" + generator + "'. " + ChatColor.RED + "Aborting world creation.");
return; return;
} }
} }