Skip to content

Commit

Permalink
move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Jan 25, 2025
1 parent 7115b6c commit fc3b437
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public ActionResult<ItemStack> onItemRightClick(World world, EntityPlayer player
ItemStack stack = player.getHeldItem(hand);
if (!isBucket) return pass(stack);

// can the player modify the clicked block
ItemStack cellStack = GTUtility.copy(1, stack);

var cellHandler = FluidUtil.getFluidHandler(cellStack);
Expand All @@ -87,6 +86,7 @@ public ActionResult<ItemStack> onItemRightClick(World world, EntityPlayer player

var pos = result.getBlockPos();

// can the player modify the clicked block
if (!world.isBlockModifiable(player, pos)) {
return fail(stack);
}
Expand Down

0 comments on commit fc3b437

Please sign in to comment.