MobArena icon indicating copy to clipboard operation
MobArena copied to clipboard

Auto-start-timer will tell the full value even if you join right before the arena starts.

Open Nesseley opened this issue 4 years ago • 1 comments

Bug report

Short description The auto-start-timer does'nt show the right time for players joining after the first player.

Reproduction steps

  1. Put auto-start-timer: to a value, say 120.

  2. Join with player1. It will get the message: "Arena will auto-start in 120 seconds."

  3. 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)

Nesseley avatar Jun 12 '21 21:06 Nesseley

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.

garbagemule avatar Jul 15 '21 21:07 garbagemule