update playerloginevent and some listener.
i hope it will fix the lag issues.
This commit is contained in:
@@ -20,10 +20,10 @@ public class LoginCommand extends ExecutableCommand {
|
||||
// Get the necessary objects
|
||||
final AuthMe plugin = AuthMe.getInstance();
|
||||
final Player player = (Player) sender;
|
||||
final String playerPass = commandArguments.get(0);
|
||||
final String password = commandArguments.get(0);
|
||||
|
||||
// Log the player in
|
||||
plugin.getManagement().performLogin(player, playerPass, false);
|
||||
plugin.getManagement().performLogin(player, password, false);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user