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:
MrTJP 2012-12-31 15:50:39 -05:00
parent f664ff8084
commit 85644a33cf

View file

@ -26,7 +26,7 @@ public class TransactorSimple extends Transactor {
while ((slot = getEmptySlot(orientation)) >= 0 && injected < stack.stackSize) {
injected += addToSlot(slot, stack, injected, doAdd);
}
inventory.onInventoryChanged();
return injected;
}