Also allow leader to re-join expedition (#391)
This commit is contained in:
1 parent
55c78c1094
commit
c7e36e18af
1 file changed
+1
-1
@@ -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