You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slot filter arguments start at index 0 instead of 1. Lua indices are 1-based, so it makes it difficult to write code that interoperates with the peripheral API.
Indices should be 1-based to be consistent with Lua and CC:T standards.
Steps to reproduce
Connect an ME Bridge and vanilla chest to a wired network
Create an ME system with item storage and connect it to the ME Bridge
Place items in the first and second slots of the chest
Run the following code;
localchestName="left"localchest=peripheral.wrap(chestName)
localbridge=peripheral.wrap("right")
forslotinpairs(chest.list())
bridge.importItemFromPeripheral({fromSlot=slot},chestName))
end
Expected Results
All items are moved from the chest into the ME system
Actual Results
Slot 0 still contains the original item
Workaround
Reduce the indices sent to the ME Bridge by 1
Multiplayer?
Yes
Version
1.19.2-0.7.34r (Latest 1.19.2)
Minecraft, Forge and maybe other related mods versions
1.19.2 / Skies Expert
Screenshots or Videos
No response
Crashlog/log
No response
The text was updated successfully, but these errors were encountered:
Describe
Slot filter arguments start at index 0 instead of 1. Lua indices are 1-based, so it makes it difficult to write code that interoperates with the peripheral API.
Indices should be 1-based to be consistent with Lua and CC:T standards.
Steps to reproduce
Expected Results
All items are moved from the chest into the ME system
Actual Results
Slot 0 still contains the original item
Workaround
Reduce the indices sent to the ME Bridge by 1
Multiplayer?
Yes
Version
1.19.2-0.7.34r (Latest 1.19.2)
Minecraft, Forge and maybe other related mods versions
1.19.2 / Skies Expert
Screenshots or Videos
No response
Crashlog/log
No response
The text was updated successfully, but these errors were encountered: