mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-09-22 13:43:15 +02: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.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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user