summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-03-24 22:43:21 +0100
committerErik Broes <erikbroes@grum.nl>2011-03-24 22:43:21 +0100
commit93fff2d5f57ff2ad1ce9c28170b398c12fa5d585 (patch)
treef16c222805f35c3dd47c1c6ba4967bef5124ed9b /src/main/java
parent69d5132df4ffeb59ac4fa182e7b267092fc76546 (diff)
downloadcraftbukkit-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/java')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java2
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() {