-
-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Labels
Description
Describe
It's me again, sorry !
All is in title. If using getItem() with a missing cable, getItem() return is empty but it triggers no error. Same beahviour if item is absent in the network. We need to be able to figure the difference between the two !
ie. I'm tring to craft items only if network don't contains more than a given amount. If I cut the cable by mistake, my rig will keep crafting items without limit, thinking there is none in network.
For now one can do a listItems() first to check if inventory is empty, but that's not good, performance-wise
EDIT: On second thought, listItems() should return an error too ^^
Steps to reproduce
Use getItem() on a disconnected ME bridge
Multiplayer?
No
Version
1.19.2-0.7.27r (Latest 1.19.2)
Minecraft, Forge and maybe other related mods versions
mc 1.19.2, atm 8
Screenshots or Videos
No response
Crashlog/log
No response