aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1022-Actually-optimise-explosions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1022-Actually-optimise-explosions.patch')
-rw-r--r--patches/server/1022-Actually-optimise-explosions.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/1022-Actually-optimise-explosions.patch b/patches/server/1022-Actually-optimise-explosions.patch
index a7db826672..6f9813b4fc 100644
--- a/patches/server/1022-Actually-optimise-explosions.patch
+++ b/patches/server/1022-Actually-optimise-explosions.patch
@@ -34,7 +34,7 @@ The results indicate that this logic is 5 times faster than Vanilla
and 2.3 times faster than Lithium.
diff --git a/src/main/java/net/minecraft/world/level/Explosion.java b/src/main/java/net/minecraft/world/level/Explosion.java
-index 6bd6533e314b64d3512cbb46f5174a4956c323b2..46a14da698eff141b7379aa9c159e6a5c5f7d84c 100644
+index 2826160f3dd951884f17d48c1b3d8f95c90e5856..feb470e8036ecfcd838cff05a0dc1d43cc96ae3c 100644
--- a/src/main/java/net/minecraft/world/level/Explosion.java
+++ b/src/main/java/net/minecraft/world/level/Explosion.java
@@ -112,6 +112,271 @@ public class Explosion {
@@ -468,7 +468,7 @@ index 6bd6533e314b64d3512cbb46f5174a4956c323b2..46a14da698eff141b7379aa9c159e6a5
double d13;
if (entity instanceof LivingEntity) {
-@@ -337,6 +653,9 @@ public class Explosion {
+@@ -340,6 +656,9 @@ public class Explosion {
}
}
@@ -478,7 +478,7 @@ index 6bd6533e314b64d3512cbb46f5174a4956c323b2..46a14da698eff141b7379aa9c159e6a5
}
public void finalizeExplosion(boolean particles) {
-@@ -550,14 +869,14 @@ public class Explosion {
+@@ -553,14 +872,14 @@ public class Explosion {
private BlockInteraction() {}
}
// Paper start - Optimize explosions