no comparator interaction
obesevran opened this issue · 3 comments
Hm so Ive got this implemented with a slight issue. The storage blocks do not automatically update when the inventory is changed by another storage block, this causes the comparators output to not change until it receives a block update. A work around could be automatically updating all instances of the storage blocks when the inventory is changed, which could cause a lot of lag if you have a lot of chests with a quick changing inventory. For now i'm just going to leave it be, but you will need to supply the comparator a block update in order for it to get a correct reading every so often
Understood won't be a problem and I think that is a good way to do it.
…________________________________
From: kyrptonaught <[email protected]>
Sent: Monday, March 23, 2020 10:03 PM
To: kyrptonaught/linkedstorage <[email protected]>
Cc: Wilson Crawford <[email protected]>; Author <[email protected]>
Subject: Re: [kyrptonaught/linkedstorage] no comparator interaction (#7)
Hm so Ive got this implemented with a slight issue. The storage blocks do not automatically update when the inventory is changed by another storage block, this causes the comparators output to not change until it receives a block update. A work around could be automatically updating all instances of the storage blocks when the inventory is changed, which could cause a lot of lag if you have a lot of chests with a quick changing inventory. For now i'm just going to leave it be, but you will need to supply the comparator a block update in order for it to get a correct reading every so often
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkyrptonaught%2Flinkedstorage%2Fissues%2F7%23issuecomment-603017050&data=02%7C01%7Cwilson.crawford%40oit.edu%7Cbedec00393e644a1062008d7cfb0adf5%7Cf4db50f235d14e0694e2167755273558%7C0%7C0%7C637206230067878711&sdata=goHcdzuw5ZCB6vAJ9AQsNes86%2FRg8cNbXWFSjQ3amWQ%3D&reserved=0>, or unsubscribe<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOURIW7GOTOKKEZ7RTCDCKLRJA5JVANCNFSM4LRENCBA&data=02%7C01%7Cwilson.crawford%40oit.edu%7Cbedec00393e644a1062008d7cfb0adf5%7Cf4db50f235d14e0694e2167755273558%7C0%7C0%7C637206230067888700&sdata=J5ThdSiGIwqo7y2yx%2FdYp4i1FrNdm3MbOpKQ8gViUGI%3D&reserved=0>.