mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-18 23:34:51 +01:00
Fix null pointer error when logging into a new account
This commit is contained in:
@@ -122,8 +122,7 @@ public class GameSession {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Note: We should cache players in case multiple sessions try to login to the
|
||||
// same player at the time
|
||||
// Note: We should cache players in case multiple sessions try to login to the same player at the time
|
||||
// Get player by account
|
||||
var player = Nebula.getGameContext().getPlayerModule().loadPlayer(account);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user