Big change!
I have refactored the cInventory code, it now uses three cItemGrids for the armor, the inventory and the hotbar, respectively. This brings a whole set of API changes, I believe they're for the better, since now the API is more balanced, more orthogonal. And there's a lot of helper functions to make your life easier.
I have changed the internal plugins (Core, Debuggers), but if you have written a plugin that does anything with the inventory, you need to have a look at your code and change it.
I'll be updating the API in the wiki momentarily.
Btw, check out the Debuggers plugin, it has a "/wool" command that sets all your armor to blue wool. And all the other players can see that armor. Coooool!
I have refactored the cInventory code, it now uses three cItemGrids for the armor, the inventory and the hotbar, respectively. This brings a whole set of API changes, I believe they're for the better, since now the API is more balanced, more orthogonal. And there's a lot of helper functions to make your life easier.
I have changed the internal plugins (Core, Debuggers), but if you have written a plugin that does anything with the inventory, you need to have a look at your code and change it.
I'll be updating the API in the wiki momentarily.
Btw, check out the Debuggers plugin, it has a "/wool" command that sets all your armor to blue wool. And all the other players can see that armor. Coooool!