From b2715aeeed5155439b69ce222994df4b0cd83d92 Mon Sep 17 00:00:00 2001 From: William Blake Galbreath Date: Thu, 14 Oct 2021 12:36:58 -0500 Subject: [PATCH] Left handed API --- .../java/org/bukkit/craftbukkit/entity/CraftMob.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java index 7cf42f62d9..e226a99d00 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftMob.java @@ -145,6 +145,16 @@ public abstract class CraftMob extends CraftLivingEntity implements Mob { public int getMaxHeadPitch() { return getHandle().getMaxHeadXRot(); } + + @Override + public boolean isLeftHanded() { + return getHandle().isLeftHanded(); + } + + @Override + public void setLeftHanded(boolean leftHanded) { + getHandle().setLeftHanded(leftHanded); + } // Paper end // Paper start