mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-28 08:30:47 +00:00
refactor: unglob std::shared_ptr
This commit is contained in:
@@ -61,7 +61,7 @@ int ClothTileItem::getLevelDataForAuxValue(int auxValue)
|
||||
return auxValue;
|
||||
}
|
||||
|
||||
unsigned int ClothTileItem::getDescriptionId(shared_ptr<ItemInstance> instance)
|
||||
unsigned int ClothTileItem::getDescriptionId(std::shared_ptr<ItemInstance> instance)
|
||||
{
|
||||
if(getTileId() == Tile::woolCarpet_Id) return CARPET_COLOR_DESCS[ClothTile::getTileDataForItemAuxValue(instance->getAuxValue())];
|
||||
else return COLOR_DESCS[ClothTile::getTileDataForItemAuxValue(instance->getAuxValue())];
|
||||
|
||||
Reference in New Issue
Block a user