Uncomment the actual fix
This commit is contained in:
parent
95f68b1b7c
commit
22fdd89e4c
1 changed files with 8 additions and 8 deletions
|
@ -113,14 +113,14 @@ public class StorageUnitBaseBlockEntity extends MachineBaseBlockEntity
|
|||
}
|
||||
}
|
||||
|
||||
// // Update for stored item for clients if out of date
|
||||
// if(world.getTime() % 20 == 0) {
|
||||
// Item storedItem = this.getStoredStack().getItem();
|
||||
// if (!isLocked() && prevItem != storedItem) {
|
||||
// prevItem = storedItem;
|
||||
// syncWithAll();
|
||||
// }
|
||||
// }
|
||||
// Update for stored item for clients if out of date
|
||||
if(world.getTime() % 20 == 0) {
|
||||
Item storedItem = this.getStoredStack().getItem();
|
||||
if (!isLocked() && prevItem != storedItem) {
|
||||
prevItem = storedItem;
|
||||
syncWithAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void populateOutput() {
|
||||
|
|
Loading…
Add table
Reference in a new issue