Merge pull request #28 from lwenk/main

fix: item_despawn_whitelist no working
This commit is contained in:
Zhongzi8972
2025-08-29 11:43:24 +08:00
committed by GitHub
Unverified
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ void ListenEvents() {
}
}
if (config.ItemDespawn.Enabled) {
item.lifeTime() = config.ItemDespawn.DespawnTime;
// item.lifeTime() = config.ItemDespawn.DespawnTime;
auto list = config.ItemDespawn.WhiteList;
auto type = item.item().getTypeName();
for (auto& key : list) {
+1 -1
View File
@@ -18,7 +18,7 @@
"label": "",
"platform": "win-x64",
"dependencies": {
"github.com/GroupMountain/GMLIB": ">=1.4.0",
"github.com/GroupMountain/GMLIB-Release": ">=1.4.0",
"github.com/MiracleForest/iListenAttentively-Release": ">=0.7.0"
},
"assets": [