Save members list when adding new members
This commit is contained in:
1 parent
f4b67c93c3
commit
34e9aa240a
1 file changed
+1
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user