MightyPirates / OpenComputers

Home of the OpenComputers mod for Minecraft.

Home Page:https://oc.cil.li

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OC + Forestry 1.12.2 (can't add bees to DB from ME)

jackyurchiksparrow opened this issue · comments

Greetings! First of all, I am extremely thankful for providing the mod for 1.12.2!
I am having issues with adding forestry bees to a database programmatically. I am able to do it manually, but it doesn't work programmatically. I only have one database on computer:
image
In my ME network I have the only item which is the Meadows Queen:
image
Then, I try to add it to the DB (which is the only way to add it to the interface to transfer it to the alveary via the transposer) and get nothing:
image

Please, reach out to me, maybe I am doing something wrong? But it works fine with other items..

P.S. yes, I have disabled all other mods.

Also, when I try to:

component.me_interface.store(nil, component.database.address, 1, 1)

then it adds the very first item from the ME network. Even if the first item in ME is a bee, it still adds it, but I have no control over it. In previous versions it used to say "wrong parameter №1, expected table, got nil".

New update. When I remove the "individual" table from the bee variable, it stores the bee, but I lose all nbt data, which makes no sense then.

bee = component.me_interface.getItemsInNetwork()[1]
bee.individual = nil
component.me_interface.store(bee, component.database.address) -- success, but no nbt, therefore, fail