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:
garbagemule 2014-04-12 16:17:58 +02:00
parent df9c0c2704
commit fefb3f1c0d
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -666,7 +666,7 @@ public class ArenaImpl implements Arena
// Last lobby player leaving? Stop the timer
if (lobbyPlayers.size() == 1) {
autoStartTimer.stop();
startDelayTimer.stop();
}
}