Done it fully async

This commit is contained in:
Sotr
2019-04-12 16:06:56 +08:00
parent e36ffa16c5
commit 54c4441d22

View File

@@ -179,8 +179,8 @@ public class JsonList<K, V extends JsonListEntry<K>> {
}
public void save() throws IOException {
this.removeStaleEntries(); // Paper - remove expired values before saving
Runnable runnable = () -> { // Akarin
this.removeStaleEntries(); // Paper - remove expired values before saving
Collection<V> collection = this.d.values();
String s = this.b.toJson(collection);
BufferedWriter bufferedwriter = null;