Merge pull request #4 from truongdatnhan/eclipse

Character storage won't get initialize at first time on server
This commit is contained in:
truongdatnhan
2022-08-05 19:34:55 +07:00
committed by GitHub

View File

@@ -8297,6 +8297,15 @@ public class Character extends AbstractCharacterObject {
}
}
/*
* Bugs when player first time into server
* The storage won't get initialize
* and must wait until next login
*/
if (getStorage() == null) {
Server.getInstance().getWorld(world).loadAccountStorage(accountid);
}
con.commit();
return true;
} catch (Exception e) {