2 Commits

3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "${modName}", "name": "${modName}",
"entry": "${modFile}", "entry": "${modFile}",
"type": "native", "type": "native",
"version": "0.15.0", "version": "0.15.1",
"author": "GroupMountain", "author": "GroupMountain",
"description": "Clean Entities", "description": "Clean Entities",
"dependencies": [ "dependencies": [
+3
View File
@@ -4,6 +4,8 @@
#include "Language.h" #include "Language.h"
#include "ll/api/utils/ErrorUtils.h" #include "ll/api/utils/ErrorUtils.h"
#include "gmlib/mc/locale/I18nAPI.h" #include "gmlib/mc/locale/I18nAPI.h"
#include "gmlib/gm/data/TpsStatus.h"
namespace Cleaner { namespace Cleaner {
Entry& Entry::getInstance() { Entry& Entry::getInstance() {
@@ -14,6 +16,7 @@ Entry& Entry::getInstance() {
bool Entry::load() { return true; } bool Entry::load() { return true; }
bool Entry::enable() { bool Entry::enable() {
(void)gmlib::TpsStatus::getInstance();
mConfig.emplace(); mConfig.emplace();
try { try {
ll::config::loadConfig(*mConfig, getSelf().getConfigDir() / "config.json"); ll::config::loadConfig(*mConfig, getSelf().getConfigDir() / "config.json");
+1 -1
View File
@@ -2,7 +2,7 @@
"format_version": 3, "format_version": 3,
"format_uuid": "289f771f-2c9a-4d73-9f3f-8492495a924d", "format_uuid": "289f771f-2c9a-4d73-9f3f-8492495a924d",
"tooth": "github.com/GroupMountain/Cleaner", "tooth": "github.com/GroupMountain/Cleaner",
"version": "0.15.0", "version": "0.15.1",
"info": { "info": {
"name": "Cleaner", "name": "Cleaner",
"description": "A Powerful Entities Cleaning up Mod for BDS", "description": "A Powerful Entities Cleaning up Mod for BDS",