SteamWar/FightSystem
Archiviert
13
1

Adding only public schems to techhider

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-01-19 07:13:10 +01:00
Ursprung 7c57b6251c
Commit e6194a7a67

Datei anzeigen

@ -14,6 +14,7 @@ import de.steamwar.core.Core;
import de.steamwar.fightsystem.Config; import de.steamwar.fightsystem.Config;
import de.steamwar.fightsystem.FightSystem; import de.steamwar.fightsystem.FightSystem;
import de.steamwar.fightsystem.IFightSystem; import de.steamwar.fightsystem.IFightSystem;
import de.steamwar.fightsystem.fight.Fight;
import javafx.util.Pair; import javafx.util.Pair;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.GameMode; import org.bukkit.GameMode;
@ -237,6 +238,6 @@ public class TechHider {
} }
private static boolean disabled(){ private static boolean disabled(){
return Config.OnlyPublicSchematics || Config.test(); return Config.OnlyPublicSchematics || Fight.onlyPublicSchems() || Config.test();
} }
} }