Merge pull request #8 from truongdatnhan/eclipse

Removing unused comments
This commit is contained in:
truongdatnhan
2022-08-11 16:05:10 +07:00
committed by GitHub
3 changed files with 3 additions and 4 deletions

View File

@@ -7406,6 +7406,9 @@ public class Character extends AbstractCharacterObject {
ret.buddylist.loadFromDb(charid);
ret.storage = wserv.getAccountStorage(ret.accountid);
/* Double-check storage incase player is first time on server
* The storage won't exist so nothing to load
*/
if(ret.storage == null) {
wserv.loadAccountStorage(ret.accountid);
ret.storage = wserv.getAccountStorage(ret.accountid);