From e6363be8b36805285b539e2e150751b000791a09 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 4 Sep 2016 11:59:41 +1000 Subject: [PATCH] SPIGOT-2656: HumanEntity#isHandRaised()Z By: md_5 --- .../java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 55119f23ab..6b6621b267 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -379,6 +379,11 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { return getHandle().isBlocking(); } + @Override + public boolean isHandRaised() { + return getHandle().cx(); // PAIL: rename + } + public boolean setWindowProperty(InventoryView.Property prop, int value) { return false; }