This commit is contained in:
Heliosares
2023-08-11 13:34:09 -04:00
parent 8be64e966d
commit 942ab1a5d7
2 changed files with 1 additions and 2 deletions

View File

@@ -647,7 +647,6 @@ public class SQLManager extends ConnectionPool {
}
public void tick() {
super.tick();
if (!isConnected() || !isConnectedAndInitDone) return;
try {
execute(connection -> {

View File

@@ -166,7 +166,7 @@ public class SQLUserManager {
if (uuid == null || uuid.equalsIgnoreCase("#null")) {
return -1;
}
if (uuid.length() == 0) {
if (uuid.isEmpty()) {
return 0;
}
uuid = uuid.toLowerCase();