diff options
Diffstat (limited to 'patches/server/0991-Moonrise-optimisation-patches.patch')
-rw-r--r-- | patches/server/0991-Moonrise-optimisation-patches.patch | 4 |
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 |