mabe fix but mabe not

This commit is contained in:
Chayapak 2023-10-13 20:24:03 +07:00
parent 3d53d7a023
commit b35218fef9

View file

@ -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();
}