- Joined
- Jun 24, 2016
- Messages
- 151
- Thread Author
- #1
I noticed while testing my bots that the 13th and 14th actionbar slots behave differently than the others in the API. When there is something in the slots, ActionBar.Slot#isEmpty still returns true, even though #getName shows the name of the item in the slot proving that its not actually empty.
I've also noticed that ActionBar.newQuery().results.size() only returns 12 when there are actually 14 filled slots, but getting a query for the empty slots does get slots 13 and 14 (whether they're empty or not).
Its a very strange bug and the only way I found to work around it is to manually iterate though the slots (not using ActionBar.newQuery at all). Hopefully this isn't too hard to read, its late in my timezone. If anyone needs more information from me I would be happy to provide it.
I've also noticed that ActionBar.newQuery().results.size() only returns 12 when there are actually 14 filled slots, but getting a query for the empty slots does get slots 13 and 14 (whether they're empty or not).
Its a very strange bug and the only way I found to work around it is to manually iterate though the slots (not using ActionBar.newQuery at all). Hopefully this isn't too hard to read, its late in my timezone. If anyone needs more information from me I would be happy to provide it.