Fixes insert (new player) for cracked players (Fixes #18)

This commit is contained in:
games647
2016-06-07 17:32:45 +02:00
parent 0b709997a4
commit ac15829dcc
12 changed files with 72 additions and 57 deletions
@@ -16,6 +16,11 @@ public class LoginSession {
return username;
}
/**
* This value is always false if we authenticate the player with a cracked authentication
*
* @return
*/
public boolean needsRegistration() {
return !registered;
}
+1 -1
View File
@@ -108,7 +108,7 @@ driver: org.sqlite.JDBC
# File location
database: '{pluginDir}/FastLogin.db'
# MySQL and SQLite
# MySQL
#driver: com.mysql.jdbc.Driver
#host: localhost
#port: 3306