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

Better Veinminer 1.5.1

Release1 нед. назад

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

[1.5.1] — 2026-06-03

Fixed

  • [HIGH] Protection-plugin bypass — veinmine queued before WorldGuard/Lands/GriefPrevention could cancel the eventonBlockBreak listened at EventPriority.NORMAL. Protection plugins (WorldGuard, Lands, GriefPrevention, Residence) typically cancel BlockBreakEvent at HIGH priority, after NORMAL. When a player tried to break a protected ore, the protection plugin had not yet cancelled the event when BVM ran, so VeinmineTask was scheduled with runTask(). One tick later, the task fired: the origin block was still intact (its break was cancelled), but all extra vein blocks within the protected region were broken without the player having any permission to do so. Changed to EventPriority.HIGH with ignoreCancelled = true. Protection plugins that act at NORMAL or LOW still cancel the event first; protection plugins at HIGH that cancel before BVM now prevent the task from being queued entirely.

  • [SMALL] BFS visited-cap break only exited the inner faces loop, not the BFS while-loop — When the visited set reached the visitedCap (maxBlocks × 4) sentinel, the break statement inside the for (int[] d : FACES) loop exited the for body but left the outer while (!queue.isEmpty()) loop running. The queue continued draining, processing each already-enqueued block and attempting to expand further neighbours on every poll (immediately re-hitting the cap check each time). For a world-gen-modded server with a very large ore deposit this was a redundant tight loop running every BFS iteration until the capped queue finally drained. Replaced with a Java labeled-break (break bfs) that exits the outer while-loop immediately when the cap is reached.

  • [COSMETIC] Stale version comment in config.yml — Header comment still read Better Veinminer v1.2.0 — Configuration since the file was not updated during the v1.4.0 or v1.5.0 releases. Updated to v1.5.1.


Метаданные

Канал релиза

Release

Номер версии

1.5.1

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.21–1.21.11

Загрузок

41

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

1 нед. назад

Загрузил

ID версии

Главная