From c7e27af2c4911740983b6524ec4c5c52dfd727fd Mon Sep 17 00:00:00 2001 From: skuzzis Date: Sat, 18 Nov 2023 18:22:13 +0200 Subject: [PATCH] update(vendor): Reverting the update for HL2SDK and metamod --- .gitmodules | 5 ----- .vscode/settings.json | 3 ++- hl2sdk | 2 +- metamod | 2 +- src/components/BasicComponent/src/BasicComponent.cpp | 1 - 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitmodules b/.gitmodules index 987e9895..e5810399 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8,8 +8,3 @@ [submodule "vendor/rapidjson"] path = vendor/rapidjson url = https://github.com/Tencent/rapidjson -[submodule "vendor/protobuf-3.21.8"] - path = vendor/protobuf-3.21.8 - url = https://github.com/protocolbuffers/protobuf/ - branch = v3.21.8 - \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 776506de..47f5dfd4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -75,7 +75,8 @@ "time.h": "c", "cfenv": "cpp", "any": "cpp", - "filesystem": "cpp" + "filesystem": "cpp", + "*.inc": "cpp" }, "C_Cpp.default.compilerPath": "C:\\msys64\\mingw64\\bin\\g++.exe" } \ No newline at end of file diff --git a/hl2sdk b/hl2sdk index 9d90a82c..492b8f96 160000 --- a/hl2sdk +++ b/hl2sdk @@ -1 +1 @@ -Subproject commit 9d90a82cfd1a14783580fbd2bfb431abd43443fd +Subproject commit 492b8f96630a153025618be8668ad049ebde8d99 diff --git a/metamod b/metamod index 1489f33b..6ee74f04 160000 --- a/metamod +++ b/metamod @@ -1 +1 @@ -Subproject commit 1489f33b25748184c74731a6cf23c4a49b4b4a51 +Subproject commit 6ee74f047a1404db38c6960328502f3b0286ef2a diff --git a/src/components/BasicComponent/src/BasicComponent.cpp b/src/components/BasicComponent/src/BasicComponent.cpp index 5dac4513..beb3ad23 100644 --- a/src/components/BasicComponent/src/BasicComponent.cpp +++ b/src/components/BasicComponent/src/BasicComponent.cpp @@ -239,7 +239,6 @@ void SwiftlyPluginManagerLoad(CPlayerSlot *slot, CCommandContext context, std::s if (plugin_name.size() == 0) return PrintToClientOrConsole(slot, "Commands", "Usage: swiftly plugins load \n"); - Plugin *plugin = pluginsMap.at(plugin_name); if (pluginsMap.find(plugin_name) == pluginsMap.end()) return PrintToClientOrConsole(slot, "Plugin Load", "Invalid plugin name.\n");