aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2024-07-08 22:30:01 +0100
committerShane Freeder <[email protected]>2024-07-08 22:30:01 +0100
commita74d9bf629ab2d502831fb36a251cdac0ab30522 (patch)
tree44af854a258c4f9119f2caa6db257e4e3a1e6e52 /patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch
parent6723f5498616da919762c68978e13c518943ef40 (diff)
parent70b0e844767131681400b3dbace06c2dea13f87c (diff)
downloadPaper-a74d9bf629ab2d502831fb36a251cdac0ab30522.tar.gz
Paper-a74d9bf629ab2d502831fb36a251cdac0ab30522.zip
Merge remote-tracking branch 'origin/master' into chore/terminalchore/terminal
Diffstat (limited to 'patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch')
-rw-r--r--patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch b/patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch
index 58b1a31cc8..8f9bf2cb24 100644
--- a/patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch
+++ b/patches/server/0797-Correctly-shrink-items-during-EntityResurrectEvent.patch
@@ -22,10 +22,10 @@ This patch corrects this behaviour by only shrinking the item if a totem
of undying was found and the event was called uncancelled.
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index c64fb799f2f40831cd25a409713c9b5081c76002..8ec08a30875816d2b8258b56ee37a4938aed50fb 100644
+index fd0e44ea6ff2868b06c8f0af14be998d95f9f46b..7ad469bf4b88f9e33ad4aaebe18e41d25769444e 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -1621,7 +1621,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -1632,7 +1632,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
this.level().getCraftServer().getPluginManager().callEvent(event);
if (!event.isCancelled()) {