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));
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
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