0 is nonexistant, not -1

This commit is contained in:
T00thpick1 2013-06-29 23:41:08 -04:00
parent 23729f45ee
commit d6b39a11e7

View File

@ -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);