From 48b88ed202ac122eea91d55b61c411e519ac2796 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 4 Sep 2016 11:59:41 +1000 Subject: [PATCH] SPIGOT-2656: HumanEntity#isHandRaised()Z --- .../java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 55119f23ab..6b6621b267 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/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; }