find this codeCode: [Select] public static final int PAPERDOLL_FACE = 14; public static final int PAPERDOLL_HAIR = 15; public static final int PAPERDOLL_HAIR2 = 16;and replace it with thisCode: [Select] public static final int PAPERDOLL_HAIR = 14; public static final int PAPERDOLL_HAIR2 = 15; public static final int PAPERDOLL_HAIRALL = 16;
public static final int PAPERDOLL_FACE = 14; public static final int PAPERDOLL_HAIR = 15; public static final int PAPERDOLL_HAIR2 = 16;
public static final int PAPERDOLL_HAIR = 14; public static final int PAPERDOLL_HAIR2 = 15; public static final int PAPERDOLL_HAIRALL = 16;
find this codeCode: [Select] writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE)); writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE));and replace it with thisCode: [Select] writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HAIR2)); writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR2));
writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE)); writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_FACE));
writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HAIR2)); writeInt(_player.getInventory().getPaperdollItemId(Inventory.PAPERDOLL_HAIR2));
/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/GMViewCharacterInfo.java /L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/network/serverpackets/UserInfo.java
writeInt(_player.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_HAIR2)); writeInt(_player.getInventory().getPaperdollItemDisplayId(Inventory.PAPERDOLL_HAIR2));
/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java
-case ItemTemplate.SLOT_HAIR2: -{ -final Item hair2 = getPaperdollItem(PAPERDOLL_HAIR); -if ((hair2 != null) && (hair2.getTemplate().getBodyPart() == ItemTemplate.SLOT_HAIRALL)) -{ - setPaperdollItem(PAPERDOLL_HAIR2, null); -} -else -{ - setPaperdollItem(PAPERDOLL_HAIR, null); -} -setPaperdollItem(PAPERDOLL_HAIR2, item); -break; -}
+case ItemTemplate.SLOT_HAIR2: +{ +final Item hair2 = getPaperdollItem(PAPERDOLL_HAIR2); +if ((hair2 != null) && (hair2.getTemplate().getBodyPart() == ItemTemplate.SLOT_HAIR2)) +{ + setPaperdollItem(PAPERDOLL_HAIR2, null); +} +setPaperdollItem(PAPERDOLL_HAIR2, item); +break; +}