Fixed the bag extraction ignoring the first four slots

This commit is contained in:
Ellpeck 2016-12-29 19:57:06 +01:00
parent 851b7a3730
commit a7a802d3c8

View file

@ -160,7 +160,7 @@ public class ItemBag extends ItemBase{
ItemStackHandlerCustom inv = new ItemStackHandlerCustom(ContainerBag.getSlotAmount(this.isVoid));
ItemDrill.loadSlotsFromNBT(inv, stack);
for(int j = 4; j < inv.getSlots(); j++){
for(int j = 0; j < inv.getSlots(); j++){
ItemStack invStack = inv.getStackInSlot(j);
if(StackUtil.isValid(invStack)){
for(int i = 0; i < handler.getSlots(); i++){