forked from SteamWar/SteamWar
Hotfix SchematicSystem.getGameModeConfig
This commit is contained in:
+1
@@ -35,6 +35,7 @@ public class SchematicSystem extends JavaPlugin {
|
||||
|
||||
public static GameModeConfig<Material, String> getGameModeConfig(SchematicType type){
|
||||
GameModeConfig<Material, String> gameModeConfig = GameModeConfig.getBySchematicType(type);
|
||||
if (gameModeConfig == null) return null;
|
||||
if (gameModeConfig.CheckQuestions.isEmpty() && gameModeConfig.Schematic.ManualCheck) return null;
|
||||
return gameModeConfig;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user