mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-24 01:27:41 +01:00
Fix offline inspecting a player hitting an error if the casing didn't match up perfectly. Fixes #3727
This commit is contained in:
parent
859063e406
commit
43d8e08e83
@ -578,7 +578,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
||||
resultSet.close();
|
||||
statement.close();
|
||||
|
||||
if (!playerName.isEmpty() && !playerName.equals(name)) {
|
||||
if (!playerName.isEmpty() && !playerName.equalsIgnoreCase(name) && uuid != null) {
|
||||
statement = connection.prepareStatement(
|
||||
"UPDATE `" + tablePrefix + "users` "
|
||||
+ "SET user = ? "
|
||||
|
Loading…
Reference in New Issue
Block a user