diff options
author | Jake Potrebic <[email protected]> | 2021-05-29 18:51:13 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-30 01:51:13 +0000 |
commit | 86ffde03848f31d295925cd12e08c8e046cb012f (patch) | |
tree | bf978a00556e708a41ac7f2d737d2762806e2310 /Spigot-Server-Patches/0616-Expose-LivingEntity-hurt-direction.patch | |
parent | 9072c349a0733dd04b182237c556a267858de134 (diff) | |
download | Paper-86ffde03848f31d295925cd12e08c8e046cb012f.tar.gz Paper-86ffde03848f31d295925cd12e08c8e046cb012f.zip |
Add getHandRaised to LivingEntity (#5752)
Diffstat (limited to 'Spigot-Server-Patches/0616-Expose-LivingEntity-hurt-direction.patch')
-rw-r--r-- | Spigot-Server-Patches/0616-Expose-LivingEntity-hurt-direction.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Spigot-Server-Patches/0616-Expose-LivingEntity-hurt-direction.patch b/Spigot-Server-Patches/0616-Expose-LivingEntity-hurt-direction.patch index 551ec0e06f..85a61eeb6e 100644 --- a/Spigot-Server-Patches/0616-Expose-LivingEntity-hurt-direction.patch +++ b/Spigot-Server-Patches/0616-Expose-LivingEntity-hurt-direction.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Expose LivingEntity hurt direction diff --git a/src/main/java/net/minecraft/world/entity/EntityLiving.java b/src/main/java/net/minecraft/world/entity/EntityLiving.java -index 358bb6244b7b9e785c7dcc3725ee00cfbb917cec..deffd82dfca1d2eea6e5b8db9228015bf35ad0a3 100644 +index b56c801c02e4f206b72db7dd74672727104bf246..b1adb0ddfeb94de6f92f40a7e9e586e00455160d 100644 --- a/src/main/java/net/minecraft/world/entity/EntityLiving.java +++ b/src/main/java/net/minecraft/world/entity/EntityLiving.java @@ -163,7 +163,7 @@ public abstract class EntityLiving extends Entity { @@ -18,10 +18,10 @@ index 358bb6244b7b9e785c7dcc3725ee00cfbb917cec..deffd82dfca1d2eea6e5b8db9228015b public float ar; public float as; diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -index 5d2ed8a0cf8351df1c8b2946f8a614fe13c34673..e574e2453c7bc848168ff24372d6772bd423b672 100644 +index 3bee6903a591bbfe312c6d7e276d7cef3dafc852..278a1c886f15b75e62bfe4c872fc779eda83c988 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java -@@ -825,5 +825,15 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { +@@ -830,5 +830,15 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { public void playPickupItemAnimation(org.bukkit.entity.Item item, int quantity) { getHandle().receive(((CraftItem) item).getHandle(), quantity); } |