9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-22 08:19:26 +00:00

Fix npe in clean block cache after being invalidated

This commit is contained in:
Samsuik
2024-03-06 22:22:40 +00:00
parent a3e1439ad9
commit 44f18e82cb
6 changed files with 28 additions and 24 deletions

View File

@@ -5,10 +5,10 @@ Subject: [PATCH] Consistent Explosion Radius
diff --git a/src/main/java/net/minecraft/world/level/Explosion.java b/src/main/java/net/minecraft/world/level/Explosion.java
index c247797a2e3c910836d7b9785b051e90a9840e89..0c9f364922fe28cb099add25d0589dfab966f51e 100644
index 97bcc95563fcde50b7d13183f94d41b80128c70c..144c2c9c11c3df3c8a95e252458828154728f555 100644
--- a/src/main/java/net/minecraft/world/level/Explosion.java
+++ b/src/main/java/net/minecraft/world/level/Explosion.java
@@ -586,7 +586,7 @@ public class Explosion {
@@ -590,7 +590,7 @@ public class Explosion {
double d2 = CACHED_RAYS[ray + 2];
ray += 3;
// Paper end - optimise explosions