diff options
Diffstat (limited to 'patches/server/0293-Optimize-Captured-BlockEntity-Lookup.patch')
-rw-r--r-- | patches/server/0293-Optimize-Captured-BlockEntity-Lookup.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0293-Optimize-Captured-BlockEntity-Lookup.patch b/patches/server/0293-Optimize-Captured-BlockEntity-Lookup.patch index f736f333bf..3070c2b195 100644 --- a/patches/server/0293-Optimize-Captured-BlockEntity-Lookup.patch +++ b/patches/server/0293-Optimize-Captured-BlockEntity-Lookup.patch @@ -10,10 +10,10 @@ Optimize to check if the captured list even has values in it, and also to just do a get call since the value can never be null. diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java -index 28ed20fc6e53490392c59b927889d78eb268b777..caf2c9799aa5ddbd5caf160e2c8f2e8f0cdaa1f8 100644 +index 12809bc84aa07e724bebbc631199f352b7d7bbcb..6d5a0aa8f8cee0897a920c2abf18efc03cad2abb 100644 --- a/src/main/java/net/minecraft/world/level/Level.java +++ b/src/main/java/net/minecraft/world/level/Level.java -@@ -910,9 +910,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable { +@@ -911,9 +911,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable { @Nullable public BlockEntity getBlockEntity(BlockPos blockposition, boolean validate) { |