Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/Advanced TreeCapitator
Все версииAdvanced TreeCapitator 1.5.2

Advanced TreeCapitator 1.5.2

Release1 нед. назад

Список изменений

[1.5.2] — 2025-06-07

Fixed — Bug Fixes

#BugDetails
1api-version: '1.20' in plugin.yml while compiling against Paper 1.21.4 APIThe plugin declared api-version: '1.20', which allowed Paper to load it on 1.20.x servers. Particle.BLOCK was renamed from Particle.BLOCK_CRACK in Paper 1.21+; running on a 1.20 server would produce a NoSuchFieldError at class-loading time, crashing the plugin on enable. Fixed by raising api-version to '1.21', which prevents the plugin from loading on incompatible servers and eliminates the runtime risk.
2Sound.BLOCK_WOOD_BREAK played for Nether stems and Bamboo blocksAll felled trees used the overworld wood-break sound (Sound.BLOCK_WOOD_BREAK) regardless of log type. In vanilla Minecraft, Nether stems (CRIMSON_STEM, WARPED_STEM) use block.nether_wood.break and Bamboo blocks use block.bamboo_wood.break. Playing the wrong sound for these types is audibly incorrect and breaks immersion. Fixed by adding a fellSound(Material) helper that dispatches to Sound.BLOCK_NETHER_WOOD_BREAK for Nether-type stems, Sound.BLOCK_BAMBOO_WOOD_BREAK for Bamboo, and Sound.BLOCK_WOOD_BREAK for all overworld logs. Detection uses a name-prefix check so future variants are covered automatically.
3cfg field in TreeCapitatorTask captured at construction time, not at execution timeTreeCapitatorTask stored the Config instance as a field initializer (private final Config cfg = getInstance().getPluginConfig()), which ran when new TreeCapitatorTask(...) was called inside onBlockBreak. Since the task executes one tick later via runTask(), a /atc reload issued in that one-tick window would leave the task using a stale pre-reload Config snapshot — the new configuration was silently ignored for that fell. Fixed by removing the field and fetching the config fresh at the top of doFell() via plugin.getPluginConfig(), always reflecting the most recent reload.

Метаданные

Канал релиза

Release

Номер версии

1.5.2

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.21–1.21.11

Загрузок

62

Дата публикации

1 нед. назад

Загрузил

ID версии

Главная