revert: remove unnecessary getUser

This commit is contained in:
Natsumi
2026-02-12 14:52:42 +13:00
committed by pa
parent 2964a2afcd
commit 84f7103fd6
3 changed files with 6 additions and 4 deletions

View File

@@ -919,6 +919,9 @@ export const useUserStore = defineStore('User', () => {
if (locationStore.lastLocation.playerList.has(D.ref.id)) {
inCurrentWorld = true;
}
if (args.cache) {
userRequest.getUser(args.params);
}
if (userId !== currentUser.value.id) {
database
.getUserStats(D.ref, inCurrentWorld)