mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Fixed the bag extraction ignoring the first four slots
This commit is contained in:
parent
851b7a3730
commit
a7a802d3c8
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class ItemBag extends ItemBase{
|
||||||
ItemStackHandlerCustom inv = new ItemStackHandlerCustom(ContainerBag.getSlotAmount(this.isVoid));
|
ItemStackHandlerCustom inv = new ItemStackHandlerCustom(ContainerBag.getSlotAmount(this.isVoid));
|
||||||
ItemDrill.loadSlotsFromNBT(inv, stack);
|
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);
|
ItemStack invStack = inv.getStackInSlot(j);
|
||||||
if(StackUtil.isValid(invStack)){
|
if(StackUtil.isValid(invStack)){
|
||||||
for(int i = 0; i < handler.getSlots(); i++){
|
for(int i = 0; i < handler.getSlots(); i++){
|
||||||
|
|
Loading…
Reference in a new issue