aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1019-Improve-boat-collision-performance.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1019-Improve-boat-collision-performance.patch')
-rw-r--r--patches/server/1019-Improve-boat-collision-performance.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/1019-Improve-boat-collision-performance.patch b/patches/server/1019-Improve-boat-collision-performance.patch
index f646d2f8e9..f1ba576e90 100644
--- a/patches/server/1019-Improve-boat-collision-performance.patch
+++ b/patches/server/1019-Improve-boat-collision-performance.patch
@@ -17,10 +17,10 @@ index 42d7ecfab6f72517904451d9df3f0404b176fdb2..5869f2f5c72f736e6b077683327c64b9
};
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index 25a7dfddb44a11f6e20c459141a61270c0c12d4c..affc39430e1f77e09768d2f614fcd5073d5a9270 100644
+index eedbf5e73dcf4019f408a9098e020488d32ccf4c..ba4d69415a68442a93026c3ca9213f0fa44ca62e 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -1436,7 +1436,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -1437,7 +1437,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
if (!source.is(DamageTypeTags.IS_PROJECTILE)) {
Entity entity = source.getDirectEntity();
@@ -29,7 +29,7 @@ index 25a7dfddb44a11f6e20c459141a61270c0c12d4c..affc39430e1f77e09768d2f614fcd507
LivingEntity entityliving = (LivingEntity) entity;
this.blockUsingShield(entityliving);
-@@ -1533,8 +1533,13 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -1547,8 +1547,13 @@ public abstract class LivingEntity extends Entity implements Attackable {
double d0 = 0.0D;
double d1 = 0.0D;
Entity entity2 = source.getDirectEntity();
@@ -45,7 +45,7 @@ index 25a7dfddb44a11f6e20c459141a61270c0c12d4c..affc39430e1f77e09768d2f614fcd507
Projectile iprojectile = (Projectile) entity2;
DoubleDoubleImmutablePair doubledoubleimmutablepair = iprojectile.calculateHorizontalHurtKnockbackDirection(this, source);
-@@ -2325,7 +2330,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -2352,7 +2357,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
this.hurtCurrentlyUsedShield((float) -event.getDamage(DamageModifier.BLOCKING));
Entity entity = damagesource.getDirectEntity();