Skip to content

Commit 23b0304

Browse files
committed
redundant copy call
1 parent 678d549 commit 23b0304

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityCreativeChest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,7 @@ protected int getStackLimit(int slot, ItemStack stack) {
245245

246246
@Override
247247
public void setStackInSlot(int slot, ItemStack stack) {
248-
ItemStack copy = GTUtility.copy(1, stack);
249-
modifiableHandler.setStackInSlot(slot, copy);
248+
modifiableHandler.setStackInSlot(slot, stack);
250249
}
251250

252251
@Override

0 commit comments

Comments
 (0)