SteamWar/FightSystem
Archiviert
13
1

Trigger recompile

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-09-08 18:53:57 +02:00
Ursprung 84f23f47c2
Commit 92a3eaefb9

Datei anzeigen

@ -305,6 +305,7 @@ public class FightSystem extends JavaPlugin {
feature.getKey().stateChange(fightState); feature.getKey().stateChange(fightState);
} }
//Disable feature if should be disabled and currently enabled //Disable feature if should be disabled and currently enabled
if(!feature.getKey().enabled().contains(fightState) && feature.getValue()){ if(!feature.getKey().enabled().contains(fightState) && feature.getValue()){
feature.getKey().disable(); feature.getKey().disable();