Save members list when adding new members

This commit is contained in:
Len 2024-02-11 16:30:59 +01:00
parent f4b67c93c3
commit 34e9aa240a

View File

@ -125,6 +125,7 @@ public class Island extends YamlConfiguration {
set("island.members", members.stream()
.map(uuid -> uuid == null ? "null" : uuid.toString())
.collect(Collectors.toList()));
save();
}
private String uuidToString(UUID uuid) {