mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-07 22:13:40 -04:00
Minor optimisation to when hair is equipped
This commit is contained in:
@@ -336,8 +336,10 @@ public class ZoneService extends Service {
|
||||
if (hair.isEmpty())
|
||||
return;
|
||||
TangibleObject hairObj = createTangible(objManager, ClientFactory.formatToSharedFile(hair));
|
||||
|
||||
hairObj.setAppearanceData(customization);
|
||||
creatureObj.equipItem(hairObj);
|
||||
creatureObj.setSlot("hair", hairObj);
|
||||
creatureObj.addEquipment(hairObj);
|
||||
}
|
||||
|
||||
private void setCreatureObjectValues(ObjectManager objManager, CreatureObject creatureObj, ClientCreateCharacter create) {
|
||||
|
||||
Reference in New Issue
Block a user