mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Fix null pointer error when logging into a new account
This commit is contained in:
1 parent
5668ba9cea
commit
11ea526a35
2 files changed
+3
-7
No files matched your search
@@ -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