Removed visibility check for join party.

This commit is contained in:
MobiusDev
2016-12-11 08:11:25 +00:00
parent 0a3bb2da67
commit bd93dc0ac6

View File

@@ -86,12 +86,6 @@ public final class RequestJoinParty implements IClientIncomingPacket
return;
}
if (!target.isVisibleFor(requestor))
{
requestor.sendPacket(SystemMessageId.THAT_IS_AN_INCORRECT_TARGET);
return;
}
if (requestor.isOnEvent(CeremonyOfChaosEvent.class))
{
client.sendPacket(SystemMessageId.YOU_CANNOT_INVITE_A_FRIEND_OR_PARTY_WHILE_PARTICIPATING_IN_THE_CEREMONY_OF_CHAOS);