From 93fff2d5f57ff2ad1ce9c28170b398c12fa5d585 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Thu, 24 Mar 2011 22:43:21 +0100 Subject: [PATCH] Prevent double CraftWorld for the same world --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index b995b73c5c..da3102197d 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() {