make nbt match item after forming press rename (#337)

This commit is contained in:
lc-1337 authored and GitHub committed 2025-09-27 17:37:41 +02:00
1 parent 550e3b2bab
commit 0d58fe01b2
1 file changed
-1
@@ -95,7 +95,6 @@ public class SPacketPatternItemRenamer implements IMessage {
Slot slot = player.openContainer.getSlot(message.valueIndex);
if (slot != null && slot.getHasStack()) {
ItemStack nextStack = slot.getStack().copy();
nextStack.setRepairCost(2);
nextStack.setStackDisplayName(message.name);
slot.putStack(nextStack);
}