Merge branch 'feat/64x64-skins' into feat/skin-offsets
This commit is contained in:
@@ -286,7 +286,9 @@ void PlayerRenderer::render(shared_ptr<Entity> _mob, double x, double y, double
|
||||
{
|
||||
for(ModelPart *pModelPart : *pAdditionalModelParts)
|
||||
{
|
||||
pModelPart->visible=true;
|
||||
shared_ptr<ItemInstance> itemInstance = mob->inventory->getArmor(3);
|
||||
if (itemInstance == nullptr || !pModelPart->hideWithHelmet)
|
||||
pModelPart->visible=true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user