mabe fix but mabe not
This commit is contained in:
parent
3d53d7a023
commit
b35218fef9
1 changed files with 5 additions and 3 deletions
|
@ -40,11 +40,13 @@ public class PersistentDataUtilities {
|
||||||
final String property = entry.getKey();
|
final String property = entry.getKey();
|
||||||
final JsonElement value = entry.getValue();
|
final JsonElement value = entry.getValue();
|
||||||
|
|
||||||
|
Main.executorService.submit(() -> {
|
||||||
jsonObject.add(property, value);
|
jsonObject.add(property, value);
|
||||||
|
|
||||||
write(jsonObject.toString());
|
write(jsonObject.toString());
|
||||||
|
|
||||||
queue.remove(property);
|
queue.remove(property);
|
||||||
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue