mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-16 23:11:40 +01:00
Fix the Belt IItemhandler
- Inserting items now gets synced to clients again
This commit is contained in:
parent
1e23aa82aa
commit
e537474c8b
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue