Hotfix countdown
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
5879ca5e18
Commit
a95800e815
@ -1,6 +1,7 @@
|
|||||||
package de.steamwar.fightsystem.utils;
|
package de.steamwar.fightsystem.utils;
|
||||||
|
|
||||||
import de.steamwar.fightsystem.Config;
|
import de.steamwar.fightsystem.Config;
|
||||||
|
import de.steamwar.fightsystem.FightSystem;
|
||||||
import de.steamwar.fightsystem.countdown.EnternCountdown;
|
import de.steamwar.fightsystem.countdown.EnternCountdown;
|
||||||
import de.steamwar.fightsystem.fight.Fight;
|
import de.steamwar.fightsystem.fight.Fight;
|
||||||
import de.steamwar.fightsystem.fight.FightPlayer;
|
import de.steamwar.fightsystem.fight.FightPlayer;
|
||||||
@ -16,6 +17,10 @@ public class EnterHandler implements StateDependent {
|
|||||||
private static final Set<FightState> enabled = EnumSet.of(FightState.RUNNING);
|
private static final Set<FightState> enabled = EnumSet.of(FightState.RUNNING);
|
||||||
private static final Set<EnternCountdown> countdowns = new HashSet<>();
|
private static final Set<EnternCountdown> countdowns = new HashSet<>();
|
||||||
|
|
||||||
|
public EnterHandler(){
|
||||||
|
FightSystem.registerStateDependent(this);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Set<FightState> enabled() {
|
public Set<FightState> enabled() {
|
||||||
return enabled;
|
return enabled;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren