diff --git a/include/PlayerTools.hpp b/include/PlayerTools.hpp index 3e992f2e..5bf8ff35 100644 --- a/include/PlayerTools.hpp +++ b/include/PlayerTools.hpp @@ -6,7 +6,6 @@ #include "config.h" #include -#include "settings/Bool.hpp" #if ENABLE_VISUALS #include @@ -16,7 +15,6 @@ class CachedEntity; namespace player_tools { -extern settings::Bool ignoreCathook; enum class IgnoreReason { DO_NOT_IGNORE, diff --git a/src/PlayerTools.cpp b/src/PlayerTools.cpp index 0ffdcac9..ce651f94 100644 --- a/src/PlayerTools.cpp +++ b/src/PlayerTools.cpp @@ -9,12 +9,13 @@ #include #include "PlayerTools.hpp" #include "entitycache.hpp" +#include "settings/Bool.hpp" static settings::Int betrayal_limit{ "player-tools.betrayal-limit", "true" }; static settings::Bool taunting{ "player-tools.ignore.taunting", "true" }; static settings::Bool hoovy{ "player-tools.ignore.hoovy", "true" }; -settings::Bool ignoreCathook{ "player-tools.ignore.cathook", "true" }; +static settings::Bool ignoreCathook{ "player-tools.ignore.cathook", "true" }; static settings::Bool online_notarget{ "player-tools.ignore.online.notarget", "true" };