feat(ElunaConfig): Add ElunaConfig using ConfigValueCache (#310)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
using namespace Hooks;
|
||||
|
||||
#define START_HOOK(EVENT) \
|
||||
if (!IsEnabled())\
|
||||
if (!ElunaConfig::GetInstance().IsElunaEnabled())\
|
||||
return;\
|
||||
auto key = EventKey<VehicleEvents>(EVENT);\
|
||||
if (!VehicleEventBindings->HasBindingsFor(key))\
|
||||
|
||||
Reference in New Issue
Block a user