Fix preschem state and techider not being always active

This commit is contained in:
D4rkr34lm
2026-05-22 18:27:53 +02:00
parent ebc10c1ce4
commit e11f3f7cbc
2 changed files with 2 additions and 1 deletions
@@ -110,6 +110,7 @@ public class FightSystem extends JavaPlugin {
hullHider = new HullHider(); hullHider = new HullHider();
techHider = new TechHiderWrapper(hullHider); techHider = new TechHiderWrapper(hullHider);
FightSystem.getHullHider().getHullMap().values().forEach(hull -> hull.fill(true));
FileSource.startReplay(); FileSource.startReplay();
@@ -110,7 +110,7 @@ public class TechHiderWrapper extends StateDependent implements Listener {
} }
}; };
new StateDependentListener(ENABLED, FightState.Schem, this); new StateDependentListener(ENABLED, FightState.All, this);
register(); register();
} }