Also allow leader to re-join expedition (#391)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user