Prevented misleading “earned $X” message when Vault deposit fails; now message only shows on true success.
Resolved payouts being rejected while players are still duel-locked, leading to $0 balance despite success text.
Changed
Payouts are now attempted **after** the duel economy lock lifts, with a small retry loop (every 10 ticks, up to ~30s) for consistent behavior across servers.
Reward calculation now guarded with `Math.max(1, winningTeam.size())` to prevent divide-by-zero in rare cases.
Added
`tryDeposit(...)` helper that checks `EconomyResponse#transactionSuccess()` before confirming success.
`payWinnersAfterUnlock(...)` helper and scheduled task to pay winners only when the economy is unlocked; includes success/failure feedback per player.
Optional lightweight `Logger.fine(...)` message when a positive deposit is blocked during a duel (visible when log level is raised) for easier diagnostics.
Notes
Existing Essentials/Vault protections remain; payouts are deferred until after unlock, preventing unwanted reverts.
Offline or eliminated players are skipped according to current logic; adjust if you want alternative payout behavior.