Save members list when adding new members
This commit is contained in:
parent
f4b67c93c3
commit
34e9aa240a
|
|
@ -125,6 +125,7 @@ public class Island extends YamlConfiguration {
|
||||||
set("island.members", members.stream()
|
set("island.members", members.stream()
|
||||||
.map(uuid -> uuid == null ? "null" : uuid.toString())
|
.map(uuid -> uuid == null ? "null" : uuid.toString())
|
||||||
.collect(Collectors.toList()));
|
.collect(Collectors.toList()));
|
||||||
|
save();
|
||||||
}
|
}
|
||||||
|
|
||||||
private String uuidToString(UUID uuid) {
|
private String uuidToString(UUID uuid) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user