mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	0 is nonexistant, not -1
This commit is contained in:
		@@ -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);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user