Список изменений
🐛 Bugfixes
-
RTP System Fixed 🎯
- Fixed issue where players were not being teleported after executing RTP command
- Removed problematic asynchronous chunk loading that caused race conditions
- Direct teleportation now works smoothly with automatic chunk loading
- Added proper error handling for teleportation failures
-
Sell System Fixed 💰
- Fixed critical bug where items were lost when clicking "Cancel" on the confirmation menu
- Items are now properly stored and returned to player inventory when canceling
- Complete ItemStack objects are preserved (enchantments, NBT data, etc.)
- Items correctly returned when closing GUI without clicking confirmation buttons
- Inventory management improved to prevent item duplication or loss
🔧 Technical Improvements
-
Inventory Event Handling
- Fixed timing issue where
onInventoryClose()was deleting stored items prematurely - Separated close event handling for Sell-GUI and Confirmation-GUI
- Proper cleanup of saved ItemStacks only when appropriate
- Fixed timing issue where
-
Code Quality
- Removed debug messages from production code
- Improved slot detection using
getSlot()instead ofgetRawSlot()for consistency - Better null checking and error prevention
Файлы
SMPSystem.jar(149.14 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.3.9
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
304
Дата публикации
2 мес. назад

