forked from TuxCoding/FastLogin
Fixes insert (new player) for cracked players (Fixes #18)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user