Merge branch 'smartcmd:main' into main

This commit is contained in:
piebot
2026-03-13 17:52:15 +03:00
committed by GitHub
19 changed files with 407 additions and 285 deletions
+5 -1
View File
@@ -1361,6 +1361,10 @@ bool LivingEntity::shouldShowName()
Icon *LivingEntity::getItemInHandIcon(shared_ptr<ItemInstance> item, int layer)
{
if (item->getItem()->hasMultipleSpriteLayers())
{
return item->getItem()->getLayerIcon(item->getAuxValue(), layer);
}
return item->getIcon();
}
@@ -2006,4 +2010,4 @@ bool LivingEntity::isAlliedTo(Team *other)
return getTeam()->isAlliedTo(other);
}
return false;
}
}