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.prevBeltPosition = newStack.beltPosition;
this.beltInventory.insert(newStack);
this.beltInventory.belt.markDirty();
this.beltInventory.belt.sendData();
}
return ItemStack.EMPTY;
}