Improve YMLWrapper

This commit is contained in:
2025-10-25 22:03:32 +02:00
parent 87a4836fa1
commit e6dea72024
4 changed files with 26 additions and 59 deletions
@@ -36,7 +36,6 @@ public class CheckSchemTypeManager {
static {
File folder = new File(SchematicSystem.getInstance().getDataFolder().getParentFile(), "FightSystem");
if(folder.exists()) {
for(File configFile : folder.listFiles((file, name) -> name.endsWith(".yml") && !name.endsWith(".kits.yml"))) {
GameModeConfig<Material, SchematicType, String> gameModeConfig = new GameModeConfig<>(YMLWrapperImpl.ofTyped(configFile));