Russian | Русский
- Удалён режим Freeze.
- Улучшена логика кода для повышения производительности и удобства поддержки.
English
- Removed the Freeze mode.
- Improved code logic for better performance and maintainability.
Versions before 1.1.0 have a critical bug with freeze effect
Версии до 1.1.0 имеют критический баг с эффектом заморозки
Русский | Russian
- Исправление: Исправлен баг с двойной активацией переключения режима, который возникал при взаимодействии с предметом, когда он находился в обеих руках. Теперь переключение режима работает корректно только при использовании основной руки.
English
- Fix: Fixed a bug where the mode switch would trigger twice when interacting with the item while it was held in both hands. The mode switch now correctly activates only when using the main hand.
Changelog
[1.0.1]
Added
- Localization: Added support for localizing plugin messages. You can now change the message language using commands, and messages will be loaded from corresponding localization files (
messages_en.yml
andmessages_ru.yml
).
Changed
- Updated Method Logic: The logic for methods has been updated to better manage plugin state and improve interaction with players.
- Item Methods: The logic for updating items in the inventory (
updateHammerInInventory
) has been enhanced to correctly reflect changes in theBan Mace
(name and mode changes). - Mode Methods: The logic for changing modes in
cycleMode
and creating the example hammer (createExampleHammer
) has been updated so that changes are correctly reflected on all instances of the item. - Item Checking and Updating: The logic for checking (
isBanMace
) and updating items has been improved to prevent issues when changing the item’s name and mode.
- Item Methods: The logic for updating items in the inventory (