diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-03-24 22:43:21 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-03-24 22:43:21 +0100 |
commit | 93fff2d5f57ff2ad1ce9c28170b398c12fa5d585 (patch) | |
tree | f16c222805f35c3dd47c1c6ba4967bef5124ed9b /src/main | |
parent | 69d5132df4ffeb59ac4fa182e7b267092fc76546 (diff) | |
download | craftbukkit-93fff2d5f57ff2ad1ce9c28170b398c12fa5d585.tar craftbukkit-93fff2d5f57ff2ad1ce9c28170b398c12fa5d585.tar.gz craftbukkit-93fff2d5f57ff2ad1ce9c28170b398c12fa5d585.tar.lz craftbukkit-93fff2d5f57ff2ad1ce9c28170b398c12fa5d585.tar.xz craftbukkit-93fff2d5f57ff2ad1ce9c28170b398c12fa5d585.zip |
Prevent double CraftWorld for the same world
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index b995b73c..da310219 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -318,7 +318,7 @@ public final class CraftServer implements Server { } } - return new CraftWorld(internal); + return internal.getWorld(); } public MinecraftServer getServer() { |