-
Notifications
You must be signed in to change notification settings - Fork 25
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
Deep Storage Unit compat broken with e.g. pushItemIntoSlot #153
Comments
Slots start from 0, So slots 0, 1 and 2 are a total of 3 slots. |
One of the slots (2 maybe) is output only. The other two are input only and should only accept the type of item already contained within the DSU, or all items if the DSU is empty. |
This is also a possibility, though does push not return false instead of an error if this is the case ? |
I tried slots 0-3. None worked. Might have been fixed in a newer OP version, but I can't test. |
@nevercast what are you talking about... we do a -- on numbers from Lua, so if they want to access slots 0-2 they need to use the numbers 1-3 in Lua... |
I had assumed that the methods would use Java convention and we would have a proxy method that would make these adjustments. Following this assumption I also assumed that the API was being used directly, instead of through Lua. Disregard my comments. |
getInventorySize returns 3, however trying to push into slots 0, 1, 2, and 3 fails.
Unless I'm doing something wrong, dsu compatibility is broken.
The text was updated successfully, but these errors were encountered: