Fix the Belt IItemhandler

- Inserting items now gets synced to clients again
This commit is contained in:
simibubi 2019-11-20 23:03:07 +01:00
parent 1e23aa82aa
commit e537474c8b

View file

@ -35,6 +35,8 @@ public class ItemHandlerBeltSegment implements IItemHandler {
newStack.beltPosition = offset + .5f; newStack.beltPosition = offset + .5f;
newStack.prevBeltPosition = newStack.beltPosition; newStack.prevBeltPosition = newStack.beltPosition;
this.beltInventory.insert(newStack); this.beltInventory.insert(newStack);
this.beltInventory.belt.markDirty();
this.beltInventory.belt.sendData();
} }
return ItemStack.EMPTY; return ItemStack.EMPTY;
} }