Also allow leader to re-join expedition (#391)

This commit is contained in:
MedicOP
2019-02-04 03:46:16 +01:00
committed by Ronan Lana
parent 55c78c1094
commit c7e36e18af

View File

@@ -227,7 +227,7 @@ public class MapleExpedition {
} }
public boolean contains(MapleCharacter player) { public boolean contains(MapleCharacter player) {
return members.containsKey(player.getId()); return members.containsKey(player.getId()) || isLeader(player);
} }
public boolean isLeader(MapleCharacter player) { public boolean isLeader(MapleCharacter player) {