diff --git a/SDK-GMLIB b/SDK-GMLIB index e4f3e2a..fd84632 160000 --- a/SDK-GMLIB +++ b/SDK-GMLIB @@ -1 +1 @@ -Subproject commit e4f3e2a188eb9218789c841e4dd4ea2b23d5ef02 +Subproject commit fd8463224fca3a7a716b7dc29bac2cc4aeae4dfb diff --git a/manifest.json b/manifest.json index cbe0f6b..0510d35 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "${pluginName}", "entry": "${pluginFile}", "type": "native", - "version": "0.12.0", + "version": "0.12.1", "author": "GroupMountain", "description": "Clean Entities", "dependencies": [ diff --git a/src/Features/Helper.cpp b/src/Features/Helper.cpp index 5ea6e8d..daec340 100644 --- a/src/Features/Helper.cpp +++ b/src/Features/Helper.cpp @@ -2,8 +2,12 @@ namespace Helper { -void broadcastMessage(std::string_view msg) { GMLIB_Level::broadcast(I18nAPI::get("cleaner.info.prefix") + std::string(msg)); } +void broadcastMessage(std::string_view msg) { + GMLIB_Level::getInstance()->broadcast(I18nAPI::get("cleaner.info.prefix") + std::string(msg)); +} -void broadcastToast(std::string_view msg) { GMLIB_Level::broadcastToast(I18nAPI::get("cleaner.info.prefix"), msg); } +void broadcastToast(std::string_view msg) { + GMLIB_Level::getInstance()->broadcastToast(I18nAPI::get("cleaner.info.prefix"), msg); +} } // namespace Helper \ No newline at end of file diff --git a/tooth.json b/tooth.json index b9d5046..a6b2327 100644 --- a/tooth.json +++ b/tooth.json @@ -1,7 +1,7 @@ { "format_version": 2, "tooth": "github.com/GroupMountain/Cleaner", - "version": "0.12.0", + "version": "0.12.1", "info": { "name": "Cleaner", "description": "A Powerful Entities Cleaning up Plugin for BDS", @@ -13,9 +13,9 @@ "gmlib" ] }, - "asset_url": "https://github.com/GroupMountain/Cleaner/releases/download/v0.12.0/Cleaner-windows-x64.zip", + "asset_url": "https://github.com/GroupMountain/Cleaner/releases/download/v0.12.1/Cleaner-windows-x64.zip", "dependencies": { - "github.com/GroupMountain/GMLIB": ">=0.12.1" + "github.com/GroupMountain/GMLIB": ">=0.12.4" }, "files": { "place": [