From 6e5fe4393c061e805e2da32e5eef4c11fc249be2 Mon Sep 17 00:00:00 2001 From: killcerr <93478098+killcerr@users.noreply.github.com> Date: Thu, 25 Jul 2024 11:10:48 +0800 Subject: [PATCH] adapt: adapt to GMLIB v0.13.1 --- src/Plugin.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Plugin.h b/src/Plugin.h index 418fe5d..1cd5405 100644 --- a/src/Plugin.h +++ b/src/Plugin.h @@ -1,7 +1,7 @@ #pragma once #include "Config.h" -#include +#include #include namespace Cleaner { @@ -13,9 +13,9 @@ class Entry { public: static Entry& getInstance(); - Entry(ll::plugin::NativePlugin& self) : mSelf(self) {} + Entry(ll::mod::NativeMod& self) : mSelf(self) {} - [[nodiscard]] ll::plugin::NativePlugin& getSelf() const { return mSelf; } + [[nodiscard]] ll::mod::NativeMod& getSelf() const { return mSelf; } /// @return True if the plugin is loaded successfully. bool load(); @@ -37,9 +37,9 @@ public: ServerTimeScheduler& getScheduler(); private: - ll::plugin::NativePlugin& mSelf; + ll::mod::NativeMod& mSelf; std::optional mConfig; std::optional mScheduler; }; -} // namespace Cleaner \ No newline at end of file +} // namespace Cleaner