Save members list when adding new members
This commit is contained in:
@@ -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