aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1005-Improve-boat-collision-performance.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1005-Improve-boat-collision-performance.patch')
-rw-r--r--patches/server/1005-Improve-boat-collision-performance.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/1005-Improve-boat-collision-performance.patch b/patches/server/1005-Improve-boat-collision-performance.patch
index 3cd32de1e5..8266a668a8 100644
--- a/patches/server/1005-Improve-boat-collision-performance.patch
+++ b/patches/server/1005-Improve-boat-collision-performance.patch
@@ -17,7 +17,7 @@ index 2cd0a4dc4f0baa08bd7f5a053303bb63733f0bab..0bd367235f80c1f0d319a6aa5130d82a
};
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index 5854e58a014b5581fa065d1db256ffc0aa947ce2..75e01c1e01e0782fc8af48777bbe4716d37aeafa 100644
+index bb74f36dcaeda72e3b154f1d62375967aad89f67..b36895bf73c49a28b78807909aefc26466384178 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
@@ -1459,7 +1459,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
@@ -29,7 +29,7 @@ index 5854e58a014b5581fa065d1db256ffc0aa947ce2..75e01c1e01e0782fc8af48777bbe4716
LivingEntity entityliving = (LivingEntity) entity;
this.blockUsingShield(entityliving);
-@@ -1553,11 +1553,12 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -1559,11 +1559,12 @@ public abstract class LivingEntity extends Entity implements Attackable {
}
if (entity1 != null && !source.is(DamageTypeTags.NO_KNOCKBACK)) {
@@ -44,7 +44,7 @@ index 5854e58a014b5581fa065d1db256ffc0aa947ce2..75e01c1e01e0782fc8af48777bbe4716
d0 = (Math.random() - Math.random()) * 0.01D;
}
-@@ -2334,7 +2335,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -2340,7 +2341,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
this.hurtCurrentlyUsedShield((float) -event.getDamage(DamageModifier.BLOCKING));
Entity entity = damagesource.getDirectEntity();