forked from ChomeNS/chomens-bot-java
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 JsonElement value = entry.getValue();
|
||||
|
||||
jsonObject.add(property, value);
|
||||
Main.executorService.submit(() -> {
|
||||
jsonObject.add(property, value);
|
||||
|
||||
write(jsonObject.toString());
|
||||
write(jsonObject.toString());
|
||||
|
||||
queue.remove(property);
|
||||
queue.remove(property);
|
||||
});
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue