9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 09:59:15 +00:00

[ci skip] remove experimental tags from playerdata and target finding

This commit is contained in:
Taiyou06
2025-05-01 23:30:40 +02:00
parent 445df88770
commit 85c8a17e53
2 changed files with 0 additions and 6 deletions

View File

@@ -10,17 +10,14 @@ public class AsyncPlayerDataSave extends ConfigModules {
return EnumConfigCategory.ASYNC.getBaseKeyName() + ".async-playerdata-save";
}
@Experimental
public static boolean enabled = false;
@Override
public void onLoaded() {
config.addCommentRegionBased(getBasePath(),
"""
**Experimental feature, may have data lost in some circumstances!**
Make PlayerData saving asynchronously.""",
"""
**实验性功能, 在部分场景下可能丢失玩家数据!**
异步保存玩家数据.""");
enabled = config.getBoolean(getBasePath() + ".enabled", enabled);

View File

@@ -11,7 +11,6 @@ public class AsyncTargetFinding extends ConfigModules {
return EnumConfigCategory.ASYNC.getBaseKeyName() + ".async-target-finding";
}
@Experimental
public static boolean enabled = false;
public static boolean alertOther = true;
public static boolean searchBlock = true;
@@ -22,11 +21,9 @@ public class AsyncTargetFinding extends ConfigModules {
@Override
public void onLoaded() {
config.addCommentRegionBased(getBasePath(), """
**Experimental feature**
This moves the expensive entity and block search calculations to background thread while
keeping the actual validation on the main thread.""",
"""
**实验性功能**
这会将昂贵的实体目标搜索计算移至后台线程, 同时在主线程上保持实际的实体验证.""");
if (asyncTargetFindingInitialized) {