Auto-start-timer will tell the full value even if you join right before the arena starts.
Bug report
Short description The auto-start-timer does'nt show the right time for players joining after the first player.
Reproduction steps
-
Put auto-start-timer: to a value, say 120.
-
Join with player1. It will get the message: "Arena will auto-start in 120 seconds."
-
Join with player2 a minute later. That player will also get the message "Arena will auto-start in 120 seconds."
Expected outcome would be that player2 gets the right value left before the arena starts.
Details
- MobArena version: MobArena version 0.106.1-SNAPSHOT
- Server version: git-Paper-744 (MC: 1.16.5)
I don't really have a means to test this out currently, and the timer code is a bit difficult to reason about, so I can't figure out why this would ever happen. It doesn't seem like it should be possible.
If anyone with some extra accounts or guinea pig players wants to take a stab at cracking this one, that'd be a great help.