mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 20:45:59 +01:00
Fix the Belt IItemhandler
- Inserting items now gets synced to clients again
This commit is contained in:
parent
1e23aa82aa
commit
e537474c8b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user