aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1036-Fix-shield-disable-inconsistency.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1036-Fix-shield-disable-inconsistency.patch')
-rw-r--r--patches/server/1036-Fix-shield-disable-inconsistency.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/1036-Fix-shield-disable-inconsistency.patch b/patches/server/1036-Fix-shield-disable-inconsistency.patch
index 777f27d8bb..61f593ff71 100644
--- a/patches/server/1036-Fix-shield-disable-inconsistency.patch
+++ b/patches/server/1036-Fix-shield-disable-inconsistency.patch
@@ -8,10 +8,10 @@ it will not disable the shield if the attacker is holding
an axe item.
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index bad6a69246f6b0a4ada222b820f16469f91b0534..e0124e44e1abe8237859e8dc1e357298188dab52 100644
+index 6751290fdcc30e3657c56660924bd5fb48418871..614a90ff73a8a85f4b7fa2c633eb0473ec01c4d2 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -2335,7 +2335,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -2341,7 +2341,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
this.hurtCurrentlyUsedShield((float) -event.getDamage(DamageModifier.BLOCKING));
Entity entity = damagesource.getDirectEntity();