Skip to content

Commit 34bb3d2

Browse files
committed
Bug fix
1 parent a70bf97 commit 34bb3d2

File tree

1 file changed

+3
-1
lines changed
  • AdvancedCore/src/com/Ben12345rocks/AdvancedCore/mysql

1 file changed

+3
-1
lines changed

AdvancedCore/src/com/Ben12345rocks/AdvancedCore/mysql/MySQL.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ public synchronized void updateBatch() {
352352
}
353353

354354
public void loadPlayerIfNeeded(String uuid) {
355-
loadPlayer(uuid);
355+
if (!containsKey(uuid)) {
356+
loadPlayer(uuid);
357+
}
356358
}
357359
}

0 commit comments

Comments
 (0)