mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-25 01:31:24 +01:00
A broadcast is not needed if we're not doing anything
This commit is contained in:
parent
dbe9494dbf
commit
1c5c792cf3
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user