mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-29 03:57:54 +01:00
0 is nonexistant, not -1
This commit is contained in:
parent
23729f45ee
commit
d6b39a11e7
@ -375,7 +375,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
||||
|
||||
int id = readId(playerName);
|
||||
|
||||
if (id == -1) {
|
||||
if (id == 0) {
|
||||
// There is no such user
|
||||
if (create) {
|
||||
newUser(playerName);
|
||||
|
Loading…
Reference in New Issue
Block a user