This commit is contained in:
SeanOMik 2021-04-04 12:28:24 -05:00
parent f10dd08d6c
commit 36f98d2b17
No known key found for this signature in database
GPG Key ID: CA09E5BE1F32728A
1 changed files with 1 additions and 1 deletions

View File

@ -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;