Ensure createItemSprite is called on the game thread

This commit is contained in:
Max Weber
2018-03-25 14:51:14 -04:00
committed by Adam
parent 0ec8d7615f
commit 92a94cff32
4 changed files with 13 additions and 4 deletions
@@ -480,6 +480,7 @@ public abstract class RSClientMixin implements RSClient
@Override
public SpritePixels createItemSprite(int itemId, int quantity, int border, int shadowColor, int stackable, boolean noted, int scale)
{
assert isClientThread();
int zoom = get3dZoom();
set3dZoom(scale);
try