fix: fix crash

This commit is contained in:
Tsubasa6848
2024-02-15 16:42:45 +08:00
Unverified
parent 4090dc7025
commit 928c470150
6 changed files with 106 additions and 32 deletions
+2
View File
@@ -2,6 +2,7 @@
#include "Global.h"
ll::Logger logger(PLUGIN_NAME);
bool isServerStarted = false;
namespace plugin {
@@ -16,6 +17,7 @@ Plugin::Plugin(ll::plugin::NativePlugin& self) : mSelf(self) {
}
bool Plugin::enable() {
isServerStarted = true;
// Code for enabling the plugin goes here.
return true;
}