4142434445464748495051
if(activeChar.isInTransaction()) { activeChar.sendPacket(Msg.WAITING_FOR_ANOTHER_REPLY, Msg.ActionFail); return; } SystemMessage problem = target.canJoinParty(activeChar); if(problem != null) { activeChar.sendPacket(problem); return; }
8485868788899091929394
if (target.isBusy()) { activeChar.sendPacket(new SystemMessage2(SystemMsg.C1_IS_ON_ANOTHER_TASK).addName(target)); return; } IStaticPacket problem = target.canJoinParty(activeChar); if (problem != null) { activeChar.sendPacket(problem); return; }