1.0 compatibility

This commit is contained in:
Ferdinando 2026-09-10 18:05:24 +02:00
commit 6193b3ee2d
33 changed files with 712 additions and 49 deletions

View file

@ -308,8 +308,9 @@ namespace RacesOfValheim
VisEquipment vis = Player.m_localPlayer.GetComponent<VisEquipment>();
if (vis != null)
{
vis.SetHairItem("");
vis.SetBeardItem("");
// Since Valheim 1.0 these take an item hash, not a prefab name. 0 is the empty slot.
vis.SetHairItem(0);
vis.SetBeardItem(0);
}
}
}