Список изменений
Plugin Old Identity Cleanup (EzChestShop)
- Updated remaining legacy references to ensure consistent use of the LPChestShop name.
- Updated the shop sign header in the configuration:
- "&a[EzShop]" → "&a[LPShop]"
Improved Command Experience
- Enhanced tab completion for the shop creation command.
Command format:
/lpcs create
Tab completion behavior:
- Second argument (amount): 1, 16, 64,
- Third argument (price): 10, 100, 1000,
This makes it immediately clear to players which arguments are required.
Command Logic Refactor
- Refactored subcommand handling in LPChestShopCommand from chained if statements to a switch statement for better structure and clarity.
- Removed unreachable code paths to ensure clean control flow.
- Ensured all execution paths return correctly.
Code Quality Improvements
- Removed unused imports.
- Added null-safety annotations (
@NotNull) to command method parameters. - Simplified chest validation logic by relying on existing internal safeguards.
- Prevent resource files from being re-saved when they already exist (prevents console warnings).
Файлы
LPChestShop-1.0.3.jar(54.69 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.3
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.20–1.21.11
Загрузок
15
Дата публикации
2 мес. назад

