This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
MoNsT3ReN4RgY
i have added this code on L2Party.java..what i am trying to do is when a pparty is inside the zone and the members goes less than 5 teleport them back to town but it's not working.
removePartyMember(player);
if (!player.isInsideZone(L2Character.ZONE_PARTYZONE))
if (getMemberCount() <= 5)
getPartyMembers().forEach(s -> s.teleToLocation(TeleportWhereType.Town));
5 answers to this question
Recommended Posts