aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0285-Optimize-Captured-BlockEntity-Lookup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0285-Optimize-Captured-BlockEntity-Lookup.patch')
-rw-r--r--patches/server/0285-Optimize-Captured-BlockEntity-Lookup.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0285-Optimize-Captured-BlockEntity-Lookup.patch b/patches/server/0285-Optimize-Captured-BlockEntity-Lookup.patch
index 0cbe385bec..98f12d68db 100644
--- a/patches/server/0285-Optimize-Captured-BlockEntity-Lookup.patch
+++ b/patches/server/0285-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 4c4449f7dee8695a362f83b9356e5754244fff18..60b04a16c6cb0a7109bda5c16e23c1d56ab7afad 100644
+index e414d417dc9226339f0d6c32406772a2eda92940..ba914a54d549b45bdbede2a9850aab34c3640c59 100644
--- a/src/main/java/net/minecraft/world/level/Level.java
+++ b/src/main/java/net/minecraft/world/level/Level.java
-@@ -912,9 +912,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
+@@ -929,9 +929,12 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
@Nullable
public BlockEntity getBlockEntity(BlockPos blockposition, boolean validate) {