Fixed inventory drop for DSU. More work on #1543
This commit is contained in:
parent
b1682ef791
commit
77e1c54b86
3 changed files with 18 additions and 28 deletions
|
@ -115,8 +115,9 @@ public class TileTechStorageBase extends TileLegacyMachineBase
|
|||
ArrayList<ItemStack> stacks = new ArrayList<>();
|
||||
|
||||
if (!this.getStoredItemType().isEmpty()) {
|
||||
if (!this.getStackInSlot(1).isEmpty())
|
||||
if (!this.getStackInSlot(1).isEmpty()) {
|
||||
stacks.add(this.getStackInSlot(1));
|
||||
}
|
||||
for (int i = 0; i < this.getStoredCount() / 64; i++) {
|
||||
ItemStack droped = this.storedItem.copy();
|
||||
droped.setCount(64);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue