New Hard Takeoff Cleanup: we now always remove duel metadata (no-drops, winner-grace, pending-return, safe-teleports) after the return delay—covers death during return, mid-sequence reloads, or odd event orders.
Safer double-teleport return path with watchdog cleanup scheduled from multiple callsites and inside the teleporter itself.
Pre-start guard tightened: no drops/pickups or container opens before arena TP; guard is disarmed only after the actual teleport lands.
Freeze phase still allows eating/drinking + full bottom-inventory moves; blocks world actions and block item drops.
WorldGuard PvP override logic refined to respect team rules, splash permissions, and region denial without breaking knockback feel.
Winner payout now waits for economy unlock reliably; losers and spectators restored cleanly even across quits/rejoins.
What’s New
Hard Takeoff Cleanup (HTC)
A universal scheduler now clears: DUEL_NO_DROPS, DUEL_WINNER_GRACE, DUEL_PENDING_TELEPORT_BACK, DUEL_SAFE_TELEPORTS_REMAINING after the configured return delay—always.
Called from all return paths (winners, losers on respawn, spectators on respawn/rejoin) and from the shared teleporter for belt-and-suspenders coverage.
Prevents rare “no item drops after duel” reports caused by stale flags when a player dies during or just after return.
Pre-Start Guard 2.0
Participants are guarded at confirmation: no drops/pickups, containers blocked, inventory clicks suppressed if they would interact with non-player inventories.
The guard lifts only when the duel TP completes (not on request). Prevents lobby dupes and weird state if TP is cancelled.
Freeze UX stays nice
Players can eat/drink and freely rearrange bottom inventory, number-key swap, and offhand swap.
World interactions blocked, block-item drops denied.
WG & Combat polish
Respect region PvP = DENY unless duel override applies; teammate damage still blocked.
Arrow/Punch and melee/Knockback emulate vanilla feel even under forced-allow rules.
Splash/lingering effects follow team rules + WG splash flags.
Recovery & Shutdown
Hard-shutdown recovery restores players/spectators, teleports them back, and refunds unresolved wagers.
Regular reload recovery similarly unwinds active sessions safely.
Fixes
Fixed cases where players could retain DUEL_NO_DROPS or DUEL_WINNER_GRACE if they died mid return.
Eliminated edge cases where inventory open/click events slipped through during pre-start.
Reduced rare stuck-in-guard after cancelled teleports and server lag spikes.
Ensured spectators that die or rejoin are fully restored and de-guarded.