fix: lock.lock();
This commit is contained in:
@@ -1 +1 @@
|
||||
1234
|
||||
1235
|
||||
@@ -86,6 +86,8 @@ public class PlayersPersistentDataPlugin extends PlayersPlugin.Listener {
|
||||
public void playerLeft(PlayerEntry target) {
|
||||
bot.executorService.submit(() -> {
|
||||
try {
|
||||
lock.lock();
|
||||
|
||||
if (!playersObject.has(getName(target))) return;
|
||||
|
||||
final ObjectNode player = (ObjectNode) playersObject.get(getName(target));
|
||||
|
||||
Reference in New Issue
Block a user