diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/utils/TechHider.java b/FightSystem_Main/src/de/steamwar/fightsystem/utils/TechHider.java index 5c587ad..0a37c65 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/utils/TechHider.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/utils/TechHider.java @@ -14,6 +14,7 @@ import de.steamwar.core.Core; import de.steamwar.fightsystem.Config; import de.steamwar.fightsystem.FightSystem; import de.steamwar.fightsystem.IFightSystem; +import de.steamwar.fightsystem.fight.Fight; import javafx.util.Pair; import org.bukkit.Bukkit; import org.bukkit.GameMode; @@ -237,6 +238,6 @@ public class TechHider { } private static boolean disabled(){ - return Config.OnlyPublicSchematics || Config.test(); + return Config.OnlyPublicSchematics || Fight.onlyPublicSchems() || Config.test(); } }