aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1012-Improve-boat-collision-performance.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1012-Improve-boat-collision-performance.patch')
-rw-r--r--patches/server/1012-Improve-boat-collision-performance.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/1012-Improve-boat-collision-performance.patch b/patches/server/1012-Improve-boat-collision-performance.patch
index cf6af1a4d2..2754015b1c 100644
--- a/patches/server/1012-Improve-boat-collision-performance.patch
+++ b/patches/server/1012-Improve-boat-collision-performance.patch
@@ -17,10 +17,10 @@ index edf937591abf62416bd692e40b7b7a6badbe877d..b40864e41e1506884fdefefbf3cf4833
};
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index b64d6cd9899ab91895faeb090c5afadbbc90f09e..9f7cb7a2780836c4ce5a6971e9f6004a91509490 100644
+index 6b58292469b5507e0e000455146a7ee1852571c5..5cedbe57f15024e6b1c278de1b3cf3e1fd84de06 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -1438,7 +1438,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -1446,7 +1446,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
if (!source.is(DamageTypeTags.IS_PROJECTILE)) {
Entity entity = source.getDirectEntity();
@@ -29,7 +29,7 @@ index b64d6cd9899ab91895faeb090c5afadbbc90f09e..9f7cb7a2780836c4ce5a6971e9f6004a
LivingEntity entityliving = (LivingEntity) entity;
this.blockUsingShield(entityliving);
-@@ -1532,11 +1532,12 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -1540,11 +1540,12 @@ public abstract class LivingEntity extends Entity implements Attackable {
}
if (entity1 != null && !source.is(DamageTypeTags.NO_KNOCKBACK)) {
@@ -44,7 +44,7 @@ index b64d6cd9899ab91895faeb090c5afadbbc90f09e..9f7cb7a2780836c4ce5a6971e9f6004a
d0 = (Math.random() - Math.random()) * 0.01D;
}
-@@ -2279,7 +2280,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -2287,7 +2288,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
this.hurtCurrentlyUsedShield((float) -event.getDamage(DamageModifier.BLOCKING));
Entity entity = damagesource.getDirectEntity();