diff options
Diffstat (limited to 'patches/server/0283-Optimize-Captured-BlockEntity-Lookup.patch')
-rw-r--r-- | patches/server/0283-Optimize-Captured-BlockEntity-Lookup.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0283-Optimize-Captured-BlockEntity-Lookup.patch b/patches/server/0283-Optimize-Captured-BlockEntity-Lookup.patch index 216045db20..4dedbb8d9c 100644 --- a/patches/server/0283-Optimize-Captured-BlockEntity-Lookup.patch +++ b/patches/server/0283-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 70b6d75daa9a9305041a565808f0dae84696d10f..dc38a23f027b4fe516f3963632d01f66c02b0681 100644 +index 0f4b9b5d3e34b5e08f9ca2f78c5e8bcec9f5a85e..1e22ee380237a33c506316e3cfe3f6efb7f9ae4a 100644 --- a/src/main/java/net/minecraft/world/level/Level.java +++ b/src/main/java/net/minecraft/world/level/Level.java -@@ -872,9 +872,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable { +@@ -865,9 +865,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable { @Nullable public BlockEntity getBlockEntity(BlockPos blockposition, boolean validate) { |