Skip to content

Commit fc3b437

Browse files
committed
move comment
1 parent 7115b6c commit fc3b437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gregtech/api/items/metaitem/stats/ItemFluidContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public ActionResult<ItemStack> onItemRightClick(World world, EntityPlayer player
6060
ItemStack stack = player.getHeldItem(hand);
6161
if (!isBucket) return pass(stack);
6262

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

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

8887
var pos = result.getBlockPos();
8988

89+
// can the player modify the clicked block
9090
if (!world.isBlockModifiable(player, pos)) {
9191
return fail(stack);
9292
}

0 commit comments

Comments
 (0)