Skip to content

Commit

Permalink
Fix bottle dupe
Browse files Browse the repository at this point in the history
  • Loading branch information
Leclowndu93150 committed Oct 7, 2024
1 parent 576e803 commit d9a9a5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private void onUse(Level level, Player player, InteractionHand hand, CallbackInf
level.gameEvent(player, GameEvent.FLUID_PICKUP, blockPos);
com.portingdeadmods.nautec.utils.ItemUtils.giveItemToPlayerNoSound(player, airBottleStack);
ItemStack itemInHand = player.getItemInHand(hand);

itemInHand.shrink(1);
cir.setReturnValue(InteractionResultHolder.sidedSuccess(itemInHand, level.isClientSide()));
}
}
Expand Down

0 comments on commit d9a9a5a

Please sign in to comment.