aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0724-Add-TameableDeathMessageEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0724-Add-TameableDeathMessageEvent.patch')
-rw-r--r--patches/server/0724-Add-TameableDeathMessageEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0724-Add-TameableDeathMessageEvent.patch b/patches/server/0724-Add-TameableDeathMessageEvent.patch
index 58ea5cd5d1..a3f8770f2a 100644
--- a/patches/server/0724-Add-TameableDeathMessageEvent.patch
+++ b/patches/server/0724-Add-TameableDeathMessageEvent.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add TameableDeathMessageEvent
diff --git a/src/main/java/net/minecraft/world/entity/TamableAnimal.java b/src/main/java/net/minecraft/world/entity/TamableAnimal.java
-index 8f085654f3b9c540346fe4e56c71d572da7a897c..4d893c445af2b6dc74d5ad731b69eb5a488817b4 100644
+index ae474216d54317a9d102cb6832225074c94c8e4b..01b91388577b6013d7bd5c9112a03f818fee1f9c 100644
--- a/src/main/java/net/minecraft/world/entity/TamableAnimal.java
+++ b/src/main/java/net/minecraft/world/entity/TamableAnimal.java
-@@ -197,7 +197,12 @@ public abstract class TamableAnimal extends Animal implements OwnableEntity {
+@@ -195,7 +195,12 @@ public abstract class TamableAnimal extends Animal implements OwnableEntity {
@Override
public void die(DamageSource damageSource) {
if (!this.level().isClientSide && this.level().getGameRules().getBoolean(GameRules.RULE_SHOWDEATHMESSAGES) && this.getOwner() instanceof ServerPlayer) {