Skip to content

Commit

Permalink
Remove custom indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SirEndii committed Sep 23, 2024
1 parent 8bc766d commit 6695fda
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ public InteractionResultHolder<ItemStack> use(Level worldIn, Player playerIn, In
ServerPlayer serverPlayerEntity = (ServerPlayer) playerIn;
ItemStack stack = playerIn.getItemInHand(handIn);
NetworkHooks.openScreen(serverPlayerEntity, inventoryItem.createContainer(playerIn, stack), buf -> {
buf.writeBlockPos(playerIn.blockPosition());
buf.writeItem(stack);
}
);
buf.writeBlockPos(playerIn.blockPosition());
buf.writeItem(stack);
});
}
return super.use(worldIn, playerIn, handIn);
}
Expand Down

0 comments on commit 6695fda

Please sign in to comment.