Fix for hair appearance conflicting with original model.

This commit is contained in:
MobiusDev
2016-12-24 17:07:26 +00:00
parent c934295596
commit 23820cd6d5

View File

@ -788,6 +788,10 @@ public class PcInventory extends Inventory
paperdoll[slot][1] = invdata.getInt("item_id");
paperdoll[slot][2] = invdata.getInt("enchant_level");
paperdoll[slot][3] = vars.getInt(ItemVariables.VISUAL_ID, 0);
if (paperdoll[slot][3] > 0) // fix for hair appearance conflicting with original model
{
paperdoll[slot][1] = paperdoll[slot][3];
}
}
}
}