{
activeChar.sendActionFailed();
return;
}
GameObject target = activeChar.getTarget();
ManorManagerInstance manor = (target != null) && (target instanceof ManorManagerInstance) ? (ManorManagerInstance) target : null;
if (!activeChar.isGM() && ((manor == null) || !activeChar.isInRange(manor, Creature.INTERACTION_DISTANCE)))
{
activeChar.sendActionFailed();
return;
}
int currentManorId = manor == null ? 0 : manor.getCastle().getId();
long totalFee = 0;
int slots = 0;
long weight = 0;
try
{