Fix null pointer error when logging into a new account

This commit is contained in:
Melledy
2025-12-11 23:25:49 -08:00
parent 5668ba9cea
commit 11ea526a35
2 changed files with 3 additions and 7 deletions

View File

@@ -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);