L2Clan cl = activeChar.getClan();
// A shield that can only be used by the members of a clan that owns a castle.
if ((cl == null || cl.getHasCastle() == 0) && itemId == 7015 && Config.CASTLE_SHIELD)
{
activeChar.sendMessage("You can't equip that");
return;
}
// A shield that can only be used by the members of a clan that owns a clan hall.
if ((cl == null || cl.getHasHideout() == 0) && itemId == 6902 && Config.CLANHALL_SHIELD)