diff options
author | Rigby <rigby@onarandombox.com> | 2011-06-19 08:59:47 +0800 |
---|---|---|
committer | tahg <tahgtahv@gmail.com> | 2011-06-19 09:05:28 +0800 |
commit | 0ef0bdb61c2195fad3ffa5fd39de6649549f6058 (patch) | |
tree | 01a1e5be11a0766f5fe8a942e6ec939a39a2e415 /src/main/java/net/minecraft | |
parent | a6b8b80fad8f966b82156fe16b2bcd02cb019049 (diff) | |
download | craftbukkit-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')
-rw-r--r-- | src/main/java/net/minecraft/server/Entity.java | 2 |
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()); |