From 1c5c792cf38f3c3ff3f28b278156d9da12ca0183 Mon Sep 17 00:00:00 2001 From: Eric Stokes Date: Sun, 21 Oct 2012 18:57:54 -0600 Subject: [PATCH] A broadcast is not needed if we're not doing anything --- .../com/onarandombox/MultiverseCore/commands/CreateCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/CreateCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands/CreateCommand.java index 9fe8b85b..f432a01f 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/commands/CreateCommand.java +++ b/src/main/java/com/onarandombox/MultiverseCore/commands/CreateCommand.java @@ -104,7 +104,7 @@ public class CreateCommand extends MultiverseCommand { } if (this.worldManager.getChunkGenerator(genarray.get(0), genarray.get(1), "test") == null) { // 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; } }