mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +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);
|
int id = readId(playerName);
|
||||||
|
|
||||||
if (id == -1) {
|
if (id == 0) {
|
||||||
// There is no such user
|
// There is no such user
|
||||||
if (create) {
|
if (create) {
|
||||||
newUser(playerName);
|
newUser(playerName);
|
||||||
|
Loading…
Reference in New Issue
Block a user