This commit is contained in:
asdflj committed 2023-01-03 10:16:24 +08:00
1 parent 043c6a6cc2
commit 0ca9a9f46c
2 files changed
+8 -3

No files matched your search

@@ -82,8 +82,12 @@ public class TileLevelMaintainer extends AENetworkTile
.getStorage()
.getFluidInventory()
.injectItems(ItemFluidDrop.getAeFluidStack(items), mode, this.source);
items.setStackSize(notInserted.getStackSize());
return items;
if (notInserted != null) {
items.setStackSize(notInserted.getStackSize());
return items;
} else {
return null;
}
} else {
return this.getProxy().getStorage().getItemInventory().injectItems(items, mode, this.source);
}