Couple of lingering issues

This commit is contained in:
dannuic 2026-04-30 00:38:51 -06:00
parent c95611e018
commit fd08c242ae

View File

@ -18,8 +18,6 @@
#pragma once
#include <ranges>
#include "common/emu_versions.h"
#include "common/patches/client_version.h"
#include "common/patches/IBuff.h"
@ -28,6 +26,8 @@
#include "zone/client.h"
#include "zone/mob.h"
#include <ranges>
// store all _generic_ static functions for the different patches here
namespace ClientPatch {
@ -37,7 +37,7 @@ using SendPredicate = std::function<bool(Client*)>;
using MutatePacket = std::function<void(std::unique_ptr<EQApplicationPacket>&, Client*)>;
template <typename Component>
static Component* GetClientComponent(const Client* client)
Component* GetClientComponent(const Client* client)
{
return GetComponent<Component>(client->GetClientVersion()).get();
}