Skip to content

Commit

Permalink
fix: fix load usercache
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsubasa6848 committed Mar 2, 2024
1 parent e6246ad commit 874d9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Server/UserCache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ std::optional<std::string> getUuidByName(std::string& name) {

LL_TYPE_INSTANCE_HOOK(
PlayerLoginHook,
ll::memory::HookPriority::Lowest,
ll::memory::HookPriority::Highest,
ServerNetworkHandler,
"?handle@ServerNetworkHandler@@UEAAXAEBVNetworkIdentifier@@AEBVLoginPacket@@@Z",
void,
Expand Down Expand Up @@ -138,8 +138,8 @@ void initUserCache() {

void enableUserCache() {
if (!mEnableUserCache) {
initUserCache();
mEnableUserCache = true;
initUserCache();
}
}

Expand Down

0 comments on commit 874d9f9

Please sign in to comment.