mixin: add getItemDefinition, fuck it, let's have both
This commit is contained in:
@@ -403,6 +403,16 @@ public interface Client extends GameEngine
|
||||
@Nonnull
|
||||
ItemComposition getItemComposition(int id);
|
||||
|
||||
/**
|
||||
* Gets the item composition corresponding to an items ID.
|
||||
*
|
||||
* @param id the item ID
|
||||
* @return the corresponding item composition
|
||||
* @see ItemID
|
||||
*/
|
||||
@Nonnull
|
||||
ItemComposition getItemDefinition(int id);
|
||||
|
||||
/**
|
||||
* Creates an item icon sprite with passed variables.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user