mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-26 18:54:44 +02:00
Useless casting and elses.
This commit is contained in:
@ -379,11 +379,9 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
||||
// There is no such user
|
||||
if (create) {
|
||||
newUser(playerName);
|
||||
return new PlayerProfile(playerName, true);
|
||||
}
|
||||
else {
|
||||
return new PlayerProfile(playerName, false);
|
||||
}
|
||||
|
||||
return new PlayerProfile(playerName, create);
|
||||
}
|
||||
// There is such a user
|
||||
writeMissingRows(id);
|
||||
|
Reference in New Issue
Block a user