fixes #1
This commit is contained in:
parent
a07946c307
commit
c942a2278f
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ public class TileQuantumChest extends TileEntity implements IInventory ,IWrencha
|
|||
@Override
|
||||
public void updateEntity() {
|
||||
if(storedItem != null){
|
||||
setInventorySlotContents(2, new ItemStack(storedItem.getItem()));
|
||||
ItemStack fakeStack = storedItem.copy();
|
||||
fakeStack.stackSize = 1;
|
||||
setInventorySlotContents(2, fakeStack);
|
||||
} else {
|
||||
setInventorySlotContents(2, null);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue