Skip to content

meBridge.exportItem(item: table, direction: string) returns 0 NO_VALID_NBT #424

@TrickShotMLG02

Description

@TrickShotMLG02

Describe

I am using v0.7.24b of OpenPeripherals on Forge 1.19.2-43.2.6. In addition i have ae2 v12.9.2 installed.
with the older version of OP (v0.7.22b) the script below worked fine, but now i get some weird errors when i try to export an item from the me system into a chest above the me bridge. I am able to see get the item name ect, but i cant export it. I have never seen the error 0 NO_VALID_NBT before. Also note, that no items are added to the me while running the code.

There is also no error on the server console.

local ae2 = peripheral.find("meBridge")
local items = ae2.listItems()
print(#items)
for _, item in ipairs(items) do
  print(item.name)
  print(ae2.exportItem(item, "up"))
  os.sleep(0.5)
end

image

image

image

Anybody got an idea how to fix that?

Steps to reproduce

Try exporting all items from a me-system by grabbing all items from meBridge and exporting them in a loop.

Multiplayer?

Yes

Version

1.19.2-0.7.24b (Latest 1.19.2)

Minecraft, Forge and maybe other related mods versions

43.2.6

Screenshots or Videos

No response

Crashlog/log

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions