runelite-client: Handle missing sprites correctly

This commit is contained in:
Max Weber
2019-07-03 12:05:23 -06:00
parent 1c6a5469bc
commit acfe45b3c6
14 changed files with 82 additions and 72 deletions

View File

@@ -360,6 +360,7 @@ public interface Client extends GameEngine
* @param scale the scale of the sprite
* @return the created sprite
*/
@Nullable
SpritePixels createItemSprite(int itemId, int quantity, int border, int shadowColor, int stackable, boolean noted, int scale);
/**
@@ -370,6 +371,7 @@ public interface Client extends GameEngine
* @param fileId the sprites file ID
* @return the sprite image of the file
*/
@Nullable
SpritePixels[] getSprites(IndexDataBase source, int archiveId, int fileId);
/**