mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-18 21:41:34 +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
|
name: MobArena
|
||||||
author: garbagemule
|
author: garbagemule
|
||||||
main: com.garbagemule.MobArena.MobArena
|
main: com.garbagemule.MobArena.MobArena
|
||||||
version: 0.96.3.3
|
version: 0.96.3.4
|
||||||
softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault]
|
softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault]
|
||||||
commands:
|
commands:
|
||||||
ma:
|
ma:
|
||||||
|
@ -666,7 +666,7 @@ public class ArenaImpl implements Arena
|
|||||||
|
|
||||||
// Last lobby player leaving? Stop the timer
|
// Last lobby player leaving? Stop the timer
|
||||||
if (lobbyPlayers.size() == 1) {
|
if (lobbyPlayers.size() == 1) {
|
||||||
autoStartTimer.stop();
|
startDelayTimer.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user