summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorRigby <rigby@onarandombox.com>2011-06-19 08:59:47 +0800
committertahg <tahgtahv@gmail.com>2011-06-19 09:05:28 +0800
commit0ef0bdb61c2195fad3ffa5fd39de6649549f6058 (patch)
tree01a1e5be11a0766f5fe8a942e6ec939a39a2e415 /src/main/java/net/minecraft/server
parenta6b8b80fad8f966b82156fe16b2bcd02cb019049 (diff)
downloadcraftbukkit-0ef0bdb61c2195fad3ffa5fd39de6649549f6058.tar
craftbukkit-0ef0bdb61c2195fad3ffa5fd39de6649549f6058.tar.gz
craftbukkit-0ef0bdb61c2195fad3ffa5fd39de6649549f6058.tar.lz
craftbukkit-0ef0bdb61c2195fad3ffa5fd39de6649549f6058.tar.xz
craftbukkit-0ef0bdb61c2195fad3ffa5fd39de6649549f6058.zip
I'm sorry Paintings... please come back...
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r--src/main/java/net/minecraft/server/Entity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index 790d6c34..cf5bca41 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -989,6 +989,8 @@ public abstract class Entity {
} else {
world = (CraftWorld) Bukkit.getServer().getWorld(worldName);
}
+ } else {
+ world = (CraftWorld) Bukkit.getServer().getWorld(nbttagcompound.getString("World"));
}
a(world == null ? null : world.getHandle());