WSlot: Items are offset by a miniscule amount
Leo40Git opened this issue ยท 3 comments
The item offset has been fixed by fixating WSlot
s to an int
grid, instead of a float
-based grid like the rest of Spinnery; thanks for the report!
I was however unable to reproduce the addArray
offset issue myself; and addPlayerInventory
will not add the label because the developer may not want the label, eg. in a screen similar to the creative screen.
Mouse over the border between 2 slots in Spinnery and you can see that you don't select any slots.
Do the same thing in a vanilla GUI and you should see that you select the 2nd slot.
The addPlayerInventory
quirk is understandable, though. Guess I'll just make a utility method that adds the label.