diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-03-22 19:21:34 +0000 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2015-03-22 19:21:34 +0000 |
commit | 22c613d8690880ca7d269db709054b4886429d98 (patch) | |
tree | 0697c36d69a726c91dcf05ebd83d97d0c2f97251 | |
parent | 970be7a444aa6b0dfac624b4633a8b5fe535c2ec (diff) | |
download | craftbukkit-22c613d8690880ca7d269db709054b4886429d98.tar craftbukkit-22c613d8690880ca7d269db709054b4886429d98.tar.gz craftbukkit-22c613d8690880ca7d269db709054b4886429d98.tar.lz craftbukkit-22c613d8690880ca7d269db709054b4886429d98.tar.xz craftbukkit-22c613d8690880ca7d269db709054b4886429d98.zip |
SPIGOT-725: Always return captured tile entities
-rw-r--r-- | nms-patches/World.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/World.patch b/nms-patches/World.patch index 8254413f..3f8e998d 100644 --- a/nms-patches/World.patch +++ b/nms-patches/World.patch @@ -1,5 +1,5 @@ ---- /home/matt/mc-dev-private//net/minecraft/server/World.java 2015-03-16 15:55:03.450982504 +0000 -+++ src/main/java/net/minecraft/server/World.java 2015-03-16 15:55:03.454982504 +0000 +--- /home/matt/mc-dev-private//net/minecraft/server/World.java 2015-03-22 19:21:15.741866512 +0000 ++++ src/main/java/net/minecraft/server/World.java 2015-03-22 19:21:15.745866512 +0000 @@ -13,6 +13,25 @@ import java.util.UUID; import java.util.concurrent.Callable; @@ -467,7 +467,7 @@ return null; } else { + // CraftBukkit start -+ if (captureBlockStates && capturedTileEntities.containsKey(blockposition)) { ++ if (capturedTileEntities.containsKey(blockposition)) { + return capturedTileEntities.get(blockposition); + } + // CraftBukkit end |