aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0983-Add-PlayerShieldDisableEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0983-Add-PlayerShieldDisableEvent.patch')
-rw-r--r--patches/server/0983-Add-PlayerShieldDisableEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0983-Add-PlayerShieldDisableEvent.patch b/patches/server/0983-Add-PlayerShieldDisableEvent.patch
index 217be56c82..f01564c4b9 100644
--- a/patches/server/0983-Add-PlayerShieldDisableEvent.patch
+++ b/patches/server/0983-Add-PlayerShieldDisableEvent.patch
@@ -16,10 +16,10 @@ sideeffects, meaning the disable event cannot share a handlerlist with
the cooldown event
diff --git a/src/main/java/net/minecraft/world/entity/Mob.java b/src/main/java/net/minecraft/world/entity/Mob.java
-index 433d8eccdd225651af8c88babfdb94d19ce546d8..026654c4d3a910f0dbfed5475f23137086618242 100644
+index a1ccd300791ccb3f1ef47b771e4fe33542039fea..7c5d7856a7982f0b3cad21f2cb8dde8569d2ec28 100644
--- a/src/main/java/net/minecraft/world/entity/Mob.java
+++ b/src/main/java/net/minecraft/world/entity/Mob.java
-@@ -1690,7 +1690,11 @@ public abstract class Mob extends LivingEntity implements Targeting {
+@@ -1697,7 +1697,11 @@ public abstract class Mob extends LivingEntity implements Targeting {
float f = 0.25F + (float) EnchantmentHelper.getBlockEfficiency(this) * 0.05F;
if (this.random.nextFloat() < f) {