aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2024-07-12 07:51:37 +0100
committerShane Freeder <[email protected]>2024-07-12 07:51:37 +0100
commit42326250490037fade55e3c619cf1ad0938467a7 (patch)
tree62e92422fed4783b41ff20b8d170b97dd2dfd66a
parent0e02aa5b8e973c1a1deb15eaef6389212cf41eb3 (diff)
downloadPaper-42326250490037fade55e3c619cf1ad0938467a7.tar.gz
Paper-42326250490037fade55e3c619cf1ad0938467a7.zip
Fix explosions getting stuckfix/explosions
-rw-r--r--patches/server/0991-Moonrise-optimisation-patches.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0991-Moonrise-optimisation-patches.patch b/patches/server/0991-Moonrise-optimisation-patches.patch
index a98f328d98..7fa11ba683 100644
--- a/patches/server/0991-Moonrise-optimisation-patches.patch
+++ b/patches/server/0991-Moonrise-optimisation-patches.patch
@@ -30816,7 +30816,7 @@ index bd20bea7f76a7307f1698fb2dfef37125032d166..141b748abe80402731cdaf14a3d36aa7
// Paper start - Affects Spawning API
diff --git a/src/main/java/net/minecraft/world/level/Explosion.java b/src/main/java/net/minecraft/world/level/Explosion.java
-index bff83fe413c7baef4ba56a3270ea4463a58c792f..3ca6e0a948194d1c4528472d4b96cb26bc0946d8 100644
+index bff83fe413c7baef4ba56a3270ea4463a58c792f..ab9c66ef01e6f401a7815f994a8c48a6b70f4ad9 100644
--- a/src/main/java/net/minecraft/world/level/Explosion.java
+++ b/src/main/java/net/minecraft/world/level/Explosion.java
@@ -75,6 +75,247 @@ public class Explosion {
@@ -31176,7 +31176,7 @@ index bff83fe413c7baef4ba56a3270ea4463a58c792f..3ca6e0a948194d1c4528472d4b96cb26
- set.add(blockposition.relative(direction.getOpposite()));
+ // Paper end - collision optimisations
+ BlockState iblockdata = cachedBlock.blockState; // Paper - optimise collisions
-+ if (!iblockdata.isDestroyable()) continue; // Paper - Protect Bedrock and End Portal/Frames from being destroyed
++ if (!iblockdata.isDestroyable()) break; // Paper - Protect Bedrock and End Portal/Frames from being destroyed
+ // Paper - collision optimisations
+
+ // Paper start - collision optimisations