From 4b7a93d5e18331a400115e3ee0a85dcf9afdd3b0 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Sun, 1 Apr 2018 02:29:37 +0300 Subject: [PATCH] Add openSign method to HumanEntity --- .../org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 6 ++++++ 1 file changed, 6 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 768a6e3f5d..6d4e0a90c7 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 @@ -654,6 +654,12 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { } } + // Paper start - move open sign method to HumanEntity + @Override + public void openSign(final org.bukkit.block.Sign sign, final org.bukkit.block.sign.Side side) { + org.bukkit.craftbukkit.block.CraftSign.openSign(sign, (CraftPlayer) this, side); + } + // Paper end @Override public boolean dropItem(boolean dropAll) { if (!(this.getHandle() instanceof ServerPlayer)) return false;