mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Replaced dumb stack size subtractor from CorporeaHelper in favor of a decrStackSize() call. Ought to close #729. Again.
This commit is contained in:
1 parent
51c4abf858
commit
5f305dc9e7
1 file changed
+1
-3
@@ -186,9 +186,7 @@ public final class CorporeaHelper {
|
||||
lastRequestMatches += stackAt.stackSize;
|
||||
lastRequestExtractions += rem;
|
||||
if(doit && rem > 0) {
|
||||
stackAt.stackSize -= rem;
|
||||
if(stackAt.stackSize == 0)
|
||||
inv.setInventorySlotContents(i, null);
|
||||
inv.decrStackSize(i, rem);
|
||||
if(invSpark != null)
|
||||
invSpark.onItemExtracted(stackAt);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user