# Starting itens for fighter's classes
StartingCustomItemsFighter = 352,1;2378,1;2493,1;2411,1;2425,1;2449,1;57,50000000;1463,2000;
if (Config.CUSTOM_STARTER_ITEMS_ENABLED)
{
if (newChar.isMageClass())
{
for (final int[] reward : Config.STARTING_CUSTOM_ITEMS_M)
{
if (ItemTable.getInstance().createDummyItem(reward[0]).isStackable())
newChar.getInventory().addItem("Starter Items Mage", reward[0], reward[1], newChar, null);
else
for (int i = 0; i < reward[1]; ++i)
newChar.getInventory().addItem("Starter Items Mage", reward[0], 1, newChar, null);
}
}
else
{
for (final int[] reward : Config.STARTING_CUSTOM_ITEMS_F)
{
if (ItemTable.getInstance().createDummyItem(reward[0]).isStackable())
newChar.getInventory().addItem("Starter Items Fighter", reward[0], reward[1], newChar, null);
else
for (int i = 0; i < reward[1]; ++i)
newChar.getInventory().addItem("Starter Items Fighter", reward[0], 1, newChar, null);
}
}
}
if (item.isEquipable())
if (newChar.getActiveWeaponItem() == null || !(item.getItem().getType2() != L2Item.TYPE2_WEAPON))
newChar.getInventory().equipItemAndRecord(item);
}
what should I change to make starting items equipable? l2jfrozen