
Chain Mining Reforged
A commamds Mod for Fabric 1.21.4
Оцените первым
2.8K
1
Chain Mining Reforged-0.0.1+build.21-hotfix.2
Release17.04.2025
Список изменений
0.0.1+build.21-hotfix.2 Patch Update
Fix memory leak caused by recursive method of buildNested Commands (int currentDepth) in /sex command.
// Method causing memory leak
private static ArgumentBuilder<ServerCommandSource, ?> buildNestedCommands(int currentDepth) {
if (currentDepth >= MAX_NESTING_DEPTH) {
return CommandManager.literal(""); // 达到最大深度时停止
}
return CommandManager.literal("sexas")
.then(CommandManager.argument("nextTarget", EntityArgumentType.entities())
.then(buildNestedCommands(currentDepth + 1)))
.then(CommandManager.literal("sexat")
.then(CommandManager.argument("nextTarget", EntityArgumentType.entities())
.then(buildNestedCommands(currentDepth + 1))));
}
Add vertical miner feature
Файлы
Chain Mining Reforged-0.0.1+build.21-hotfix.2.jar(256.08 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
0.0.1+build.21-hotfix.2
Загрузчики
Fabric
Версии игры
1.21.4
Загрузок
330
Дата публикации
17.04.2025
