update playerloginevent and some listener.

i hope it will fix the lag issues.
This commit is contained in:
DNx5
2015-11-24 07:15:58 +07:00
parent b4b92e5a93
commit 8e9bfc6299
5 changed files with 69 additions and 105 deletions
@@ -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;
}
}