i have write that ... this is correct ?
if (Config.TATTOO_CHECKER)
{
if (player.getClassId().getId() == 92) //archer
{
if(activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE.getId()) == 8530)
{
setPaperdollItem(PAPERDOLL_FACE, 8530);
}
else
{
setPaperdollItem(PAPERDOLL_FACE, null);
activeChar.sendMessage("That tattoo is not allowed to wearing at your class.");
}
}
else if (player.getClassId().getId() == 93) // dagger
{
if(activeChar.getInventory().getPaperdollObjectId(Inventory.PAPERDOLL_FACE) == 8531)
{
setPaperdollItem(PAPERDOLL_FACE, 8531);
}
else
{
setPaperdollItem(PAPERDOLL_FACE, null);
activeChar.sendMessage("That tattoo is not allowed to wearing at your class.");
}
}
}