mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-27 04:55:25 +01:00
Stop start-delay-timer instead of auto-start-timer on empty lobby.
Due to the start-delay-timer holding a reference to the auto-start-timer as its internal callback, the start-delay-timer should be stopped, when both timers should be stopped.
This commit is contained in:
parent
df9c0c2704
commit
fefb3f1c0d
@ -1,7 +1,7 @@
|
||||
name: MobArena
|
||||
author: garbagemule
|
||||
main: com.garbagemule.MobArena.MobArena
|
||||
version: 0.96.3.3
|
||||
version: 0.96.3.4
|
||||
softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault]
|
||||
commands:
|
||||
ma:
|
||||
|
@ -666,7 +666,7 @@ public class ArenaImpl implements Arena
|
||||
|
||||
// Last lobby player leaving? Stop the timer
|
||||
if (lobbyPlayers.size() == 1) {
|
||||
autoStartTimer.stop();
|
||||
startDelayTimer.stop();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user