Rename and clean up MapleParty

This commit is contained in:
P0nk
2021-09-09 21:44:09 +02:00
parent 5aa0368090
commit 714df342d9
24 changed files with 157 additions and 158 deletions

View File

@@ -878,7 +878,7 @@ public class Client extends ChannelInboundHandlerAdapter {
private void removePartyPlayer(World wserv) {
MapleMap map = player.getMap();
final MapleParty party = player.getParty();
final Party party = player.getParty();
final int idz = player.getId();
if (party != null) {
@@ -1097,7 +1097,7 @@ public class Client extends ChannelInboundHandlerAdapter {
if (partyid != null) {
this.setPlayer(chr);
MapleParty party = chr.getWorldServer().getParty(partyid);
Party party = chr.getWorldServer().getParty(partyid);
chr.setParty(party);
chr.getMPC();
chr.leaveParty(); // thanks Vcoc for pointing out deleted characters would still stay in a party