mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 11:42:55 +01:00
SPIGOT-725: Always return captured tile entities
This commit is contained in:
parent
970be7a444
commit
22c613d869
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- /home/matt/mc-dev-private//net/minecraft/server/World.java 2015-03-16 15:55:03.450982504 +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-16 15:55:03.454982504 +0000
|
+++ src/main/java/net/minecraft/server/World.java 2015-03-22 19:21:15.745866512 +0000
|
||||||
@@ -13,6 +13,25 @@
|
@@ -13,6 +13,25 @@
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
|
@ -467,7 +467,7 @@
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
+ // CraftBukkit start
|
+ // CraftBukkit start
|
||||||
+ if (captureBlockStates && capturedTileEntities.containsKey(blockposition)) {
|
+ if (capturedTileEntities.containsKey(blockposition)) {
|
||||||
+ return capturedTileEntities.get(blockposition);
|
+ return capturedTileEntities.get(blockposition);
|
||||||
+ }
|
+ }
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
|
Loading…
Reference in a new issue