Closed palra closed 9 years ago
The name is wrong, but one returns only one item, the first of its category, and the other one returns all categories
So Item#getFirstOfCategory(String)
? It looks useless
Indeed, equivalent to getByType[x]
So, do we keep it ?
So, it's "no"
https://github.com/palra/univ-mmorpg/blob/feature/serialization/src/main/java/fr/univdevs/mmorpg/engine/character/Inventory.java#L233-L236
Isn't that a (bad) duplicate of
Inventory#getByType(String)
?