3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00

Move world generator warning to CraftBukkit. Fixes BUKKIT-2565

Dieser Commit ist enthalten in:
Score_Under 2013-03-21 17:50:58 +00:00 committet von riking
Ursprung f08081c77d
Commit 75641a607e

Datei anzeigen

@ -1008,9 +1008,12 @@ public final class CraftServer implements Server {
if (plugin == null) { if (plugin == null) {
getLogger().severe("Could not set generator for default world '" + world + "': Plugin '" + split[0] + "' does not exist"); getLogger().severe("Could not set generator for default world '" + world + "': Plugin '" + split[0] + "' does not exist");
} else if (!plugin.isEnabled()) { } else if (!plugin.isEnabled()) {
getLogger().severe("Could not set generator for default world '" + world + "': Plugin '" + split[0] + "' is not enabled yet (is it load:STARTUP?)"); getLogger().severe("Could not set generator for default world '" + world + "': Plugin '" + plugin.getDescription().getFullName() + "' is not enabled yet (is it load:STARTUP?)");
} else { } else {
result = plugin.getDefaultWorldGenerator(world, id); result = plugin.getDefaultWorldGenerator(world, id);
if (result == null) {
getLogger().severe("Could not set generator for default world '" + world + "': Plugin '" + plugin.getDescription().getFullName() + "' lacks a default world generator");
}
} }
} }
} }