From 36f98d2b1716edd51c875f5cb232df72d48fc53a Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 4 Apr 2021 12:28:24 -0500 Subject: [PATCH] Fix #37 --- .../tamablefoxes/versions/version_1_16_R3/EntityTamableFox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/seanomik/tamablefoxes/versions/version_1_16_R3/EntityTamableFox.java b/src/main/java/net/seanomik/tamablefoxes/versions/version_1_16_R3/EntityTamableFox.java index ca0f7c2..bb7776b 100644 --- a/src/main/java/net/seanomik/tamablefoxes/versions/version_1_16_R3/EntityTamableFox.java +++ b/src/main/java/net/seanomik/tamablefoxes/versions/version_1_16_R3/EntityTamableFox.java @@ -272,7 +272,7 @@ public class EntityTamableFox extends EntityFox { if (!entityhuman.isSneaking() && (flag != EnumInteractionResult.SUCCESS || this.isBaby())) { this.goalSit.setSitting(!this.isSitting()); return flag; - } else if (entityhuman.isSneaking()) { // Swap/Put/Take item from fox. + } else if (entityhuman.isSneaking() && enumhand == EnumHand.MAIN_HAND) { // Swap/Put/Take item from fox. // Ignore buckets since they can be easily duplicated. if (itemstack.getItem() == Items.BUCKET || itemstack.getItem() == Items.LAVA_BUCKET || itemstack.getItem() == Items.WATER_BUCKET) { return EnumInteractionResult.PASS;