We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 116ba93 commit 1de1398Copy full SHA for 1de1398
src/gmsidebar/ApiExport.cpp
@@ -42,4 +42,8 @@ void Entry::exportApi() {
42
});
43
}
44
45
+void Entry::removeApi() {
46
+ LegacyRemoteCall::removeNameSpace("GMSidebar");
47
+}
48
+
49
} // namespace gmsidebar
src/gmsidebar/Entry.cpp
@@ -27,6 +27,7 @@ bool Entry::enable() {
27
28
bool Entry::disable() {
29
GMSidebar::getInstance().disable();
30
+ removeApi();
31
return true;
32
33
src/gmsidebar/Entry.h
@@ -20,6 +20,7 @@ class Entry {
20
21
void registerCmd();
22
void exportApi();
23
+ void removeApi();
24
25
private:
26
ll::mod::NativeMod& mSelf;
0 commit comments