diff options
author | Score_Under <seejay.11@gmail.com> | 2013-03-21 17:50:58 +0000 |
---|---|---|
committer | riking <rikingcoding@gmail.com> | 2013-04-30 17:09:04 -0700 |
commit | 75641a607e6878dfd98f808e4f7b01441c3dea18 (patch) | |
tree | 2c3e7956373eff777f79a522c6a147b1f4c9cdfc | |
parent | f08081c77d5d8aaf03ae5997b5b8330824302766 (diff) | |
download | craftbukkit-75641a607e6878dfd98f808e4f7b01441c3dea18.tar craftbukkit-75641a607e6878dfd98f808e4f7b01441c3dea18.tar.gz craftbukkit-75641a607e6878dfd98f808e4f7b01441c3dea18.tar.lz craftbukkit-75641a607e6878dfd98f808e4f7b01441c3dea18.tar.xz craftbukkit-75641a607e6878dfd98f808e4f7b01441c3dea18.zip |
Move world generator warning to CraftBukkit. Fixes BUKKIT-2565
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 8a079d38..6cb50b71 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -1008,9 +1008,12 @@ public final class CraftServer implements Server { if (plugin == null) { getLogger().severe("Could not set generator for default world '" + world + "': Plugin '" + split[0] + "' does not exist"); } 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 { 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"); + } } } } |