Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Details
Changelog
Fixed
- Critical Lifecycle Issues: Fixed memory leaks and stale references during plugin reloads
- Static instance now properly nullified on disable
- Explicit event listener unregistration to prevent duplicate events
- Added null-safe checks in
onDisableto prevent crashes
- State Persistence Improvements:
- Changed
worldStatesCachetoConcurrentHashMapfor thread safety - Fixed PlaceholderAPI stale references by changing
persist()tofalse - Re-checks PAPI availability on every reload/enable
- Changed
- Code Quality:
- Removed unused imports and fields
- Updated versioning for consistency




