-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIM's pushItemIntoSlot() ignoring destination slot #28
Comments
pullItemIntoSlot() seems to be doing the same thing, dumping items into the first available slot in my hotbar. |
Can't reproduce, please make sure you are using latest version |
I just tested it in a brand-new Minecraft instance with the latest versions of Forge, ComputerCraft, OpenModsLib, OpenPeripheralCore, and OpenPeripheralAddons and no other mods at all. I just used a vanilla chest. Same problem. Is there something wrong with my code? This SHOULD put it in slot 2, but it ends up in slot 1. |
Ok, my derp. Fixed in OpenModsLib |
I have a PIM adjacent to two EnderStorage Ender Chests. I wrote a little program that would empty my inventory, hotbar, and armor into the chests, using pushItemIntoSlot() so I could then use pullItemIntoSlot() to re-equip my armor and put my hotbar items back where they were. Unfortunately, it looks like it puts items in the first available slot in the Ender Chest, no matter what slot I specify.
Here's a little test program I ran to make sure I hadn't made a mistake in my code. It's supposed to put the dirt in slot 2:
The text was updated successfully, but these errors were encountered: