
Gravewarden
Seamless item protection. Secure, lightweight, essential.
47
0
Список изменений
🐛 Bug Fix Update - Version 1.2.1
This update addresses critical stability issues found in the previous release, specifically targeting crashes related to configuration loading and color formatting.
🛡️ Bug Fixes
- Resolved Critical NPE: Fixed a
NullPointerExceptionthat occurred when sending death or interaction messages if the configuration keys were missing or improperly loaded. - Safe Configuration Loading: Added robust null-checks for all configurable messages. The plugin will now use internal default messages if a config value is missing, preventing the entire event from failing.
- HEX Parsing Fix: Corrected the
ColorUtilslogic to safely handle HEX color codes and prevent crashes during string processing. - Improved Null Safety: Implemented
Objects.requireNonNullprotections and fallback strings across all Event Listeners.
⚙️ Technical Changes
- Optimized the order of operations in
DeathListenerto ensure the grave is fully registered before attempting to notify the player. - Refined the
GraveInteractListenerto handle unexpected null states gracefully when players interact with legacy or corrupted head blocks.
Note for Admins: If you previously experienced crashes when a player died, this update is mandatory. It is recommended to let the plugin regenerate your config.yml or ensure all message keys are correctly placed under the messages: section.
Found a bug? Report it on GitHub!
Файлы
Gravewarden-1.2.1.jar(26.69 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.1
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.20.6–1.21.11
Загрузок
2
Дата публикации
4 нед. назад
