Zurück zum Plugin
B

Update 1.2.5

PlayerDataSync 1.2.5-SNAPSHOT

1.2.5 Beta 30.12.2025, 18:26
Release Notes

Markdown wird automatisch gerendert.

[1.2.5-SNAPSHOT] - 2025-12-29

Fixed

  • Issue #45 - XP Sync Not Working: Fixed experience synchronization not working
    • Improved applyExperience() method with proper reset before setting experience
    • Added verification to ensure experience is set correctly
    • Added fallback mechanism using giveExp() if setTotalExperience() doesn't work
    • Better error handling with detailed logging and stack traces
    • Now works reliably across all Minecraft versions (1.8-1.21.11)

Improved

  • Code Quality: Fixed deprecated method usage and improved compatibility
    • Replaced deprecated URL(String) constructor with URI.toURL() for better Java 20+ compatibility
    • Replaced deprecated PotionEffectType.getName() with getKey().getKey() for better compatibility
    • Improved PotionEffectType.getByName() usage with NamespacedKey fallback
    • Replaced deprecated getMaxHealth() with Attribute system where available
    • Improved getOfflinePlayer(String) usage with better error handling
    • Added @SuppressWarnings annotations for necessary deprecated method usage
    • Cleaned up unused imports and improved code organization
Details
Version
1.2.5
B
Typ
Beta
Veröffentlicht
30.12.2025, 18:26
Aktionen
Zum Plugin
Update teilen
Teile dieses Update mit anderen