Refined Storage

Refined Storage

77M Downloads

OC extract(Fluid|Item) not finding inventory/tank

WhiteFire-Sondergaard opened this issue ยท 1 comments

commented

Issue description:

The extract[Item|Fluid] functions always report that they can not find an inventory or tank.

What happens:

Stacktrace w/ No inventory on the given side.

What you expected to happen:

Transfer of items/fluids

Steps to reproduce:

  1. Setup an interface with a chest under it.
  2. Setup an OC system with an adaptor touching the interface.
  3. Run lua and:
    component.block_refinedstorage_interface.extractItem(component.block_refinedstorage_interface.getItems()[1], 1, 0)
    Which should extract one copy of the first item in the interface and deliver it to the inventory down.

Version (make sure you are on the latest version before reporting):

  • Minecraft: 1.12.2
  • Forge: 14.23.2.2613
  • Refined Storage: 1.5.32

Does this issue occur on a server? [yes/no]
yes


Really I don't see what is wrong with the code, but my understanding of the APIs involved are limited. I mean unless the node's position is being reported incorrectly or something.

If this is something I'm doing wrong here even better because it means I don't have to update the server. :3

commented

Please ask your question in our discord. Thank you