Made transactor alert inventory changes
Eliminates some client-server sync issues (given that the TE alerts server). Also enables things like Factorization Barrels to update their item count.
This commit is contained in:
parent
f664ff8084
commit
85644a33cf
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public class TransactorSimple extends Transactor {
|
||||||
while ((slot = getEmptySlot(orientation)) >= 0 && injected < stack.stackSize) {
|
while ((slot = getEmptySlot(orientation)) >= 0 && injected < stack.stackSize) {
|
||||||
injected += addToSlot(slot, stack, injected, doAdd);
|
injected += addToSlot(slot, stack, injected, doAdd);
|
||||||
}
|
}
|
||||||
|
inventory.onInventoryChanged();
|
||||||
return injected;
|
return injected;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue