Fixed inventory drop for DSU. More work on #1543

This commit is contained in:
drcrazy 2018-06-14 18:31:48 +03:00
parent b1682ef791
commit 77e1c54b86
3 changed files with 18 additions and 28 deletions

View file

@ -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);