Skip to content

Commit

Permalink
- 神秘逻辑...
Browse files Browse the repository at this point in the history
  • Loading branch information
KasumiNova committed Jul 24, 2024
1 parent b4d4379 commit 094e4fd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private void injectInit(final CallbackInfo ci) {
return;
}
this.inputHandler = new IItemHandler() {
private final IItemHandler parent = inputHandler;
final IItemHandler parent = inputHandler;

@Override
public int getSlots() {
Expand Down Expand Up @@ -70,8 +70,9 @@ public ItemStack insertItem(final int slot, @Nonnull ItemStack stack, final bool
inventory.set(i, stack);
return ItemStack.EMPTY;
}
} else {
possibleSlots.add(i);
}
continue;
}

if (ItemHandlerHelper.canItemStacksStack(stack, here) && here.getCount() < here.getMaxStackSize()) {
Expand Down

0 comments on commit 094e4fd

Please sign in to comment.