3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00

SPIGOT-725: Always return captured tile entities

Dieser Commit ist enthalten in:
Thinkofdeath 2015-03-22 19:21:34 +00:00
Ursprung 970be7a444
Commit 22c613d869

Datei anzeigen

@ -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