Introduction:
This update includes a major internal rework to improve teleport handling performance and reliability, particularly when teleporting multiple leashed or tamed animals at once. Chunk ticket management has been fully moved to the teleport listener to prevent premature chunk unloading, and a short delay was introduced before reattaching leashes to reduce entity freezing issues.
Additionally, this release updates dependencies and includes several small optimizations and refactors.
Latest release information/download can also be found on GitHub here.
Installation:
- Stop the server.
- Save a copy of your current folder
- Delete the old jar (in /plugins folder) and copy the new jar in place of it.
- Start the server.
- Modify the config to your liking, and restart the server (or run /oat reload) to update the changes.
- Report bugs you discover!
Additions
+ [Addition] Delay for leash reattachment. Added a 10-tick delay before reattaching the leash after teleport to help prevent entities from freezing when teleported while leashed. Resolves [
#4]
+ [Addition] Added internal handling improvements to chunk tickets for entity teleports. Tickets are now created and removed once per player teleport instead of per-entity, reducing redundant processing.
Deletions
– [Deletion] Removed 1.21 dependency as 1.21.10 should be backwards compliant.
– [Deletion] Removed the now-unused [
from] parameter in internal teleport methods after moving chunk ticket handling into listeners.
Modifications
• [Modification] Bumping plugin version to 2.5.
• [Modification] Updating dependencies to latest snapshot.
• [BUG FIX] Optimized teleport performance by consolidating chunk ticket creation/removal logic. Prevents chunks from unloading prematurely during teleport sequences.
• [BUG FIX] Updated delay and timing logic to use Long types for improved precision and futureproofing.
• [Cleanup] Optimized code, removed unnecessary comments
Full Changelog
https://github.com/CoolLord22/OtherAnimalTeleport/compare/v2.4-b98...v2.5-b104