mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-22 12:58:13 +05:00
@@ -17,7 +17,7 @@ ItemSpriteRenderer::ItemSpriteRenderer(Item *sourceItem, int sourceItemAuxValue
|
||||
// this(sourceItem, 0);
|
||||
//}
|
||||
|
||||
void ItemSpriteRenderer::render(std::shared_ptr<Entity> e, double x, double y, double z, float rot, float a)
|
||||
void ItemSpriteRenderer::render(shared_ptr<Entity> e, double x, double y, double z, float rot, float a)
|
||||
{
|
||||
// the icon is already cached in the item object, so there should not be any performance impact by not caching it here
|
||||
Icon *icon = sourceItem->getIcon(sourceItemAuxValue);
|
||||
|
||||
Reference in New Issue
Block a user