diff --git a/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp b/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp index febb1a1f..a1a65498 100644 --- a/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp +++ b/AmethystAPI/src/minecraft/src-deps/core/debug/log/ContentLog.hpp @@ -8,11 +8,11 @@ class ContentLog { uintptr_t** vtable; // 1.20.72.1 - 48 89 5C 24 ? 48 89 4C 24 ? 57 48 83 EC ? 48 8B F9 48 8D 05 ? ? ? ? 48 89 01 48 89 4C 24 ? 48 83 C1 ? 48 8D 54 24 ? E8 ? ? ? ? 90 48 8D 05 ? ? ? ? 48 89 07 C6 47 - ContentLog() {}; + ContentLog(); template int Log(bool doNotRepeat, LogLevel logLevel, LogArea logArea, Strings... strings) { - using function = decltype(&ContentLog::Log); + using function = int (ContentLog::*)(bool, LogLevel, LogArea, Strings...); auto func = std::bit_cast(SigScan("44 89 4C 24 ? 48 83 EC")); return (this->*func)(doNotRepeat, logLevel, logArea, strings...); }