Skip to content

Commit

Permalink
Reworked addAllParsers method with ContentsParser package
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Apr 11, 2024
1 parent a6299a7 commit ab1e978
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ public class GUIYAGLParser {

public static void addAllParsers() {
ItemYAGLParser.addAllParsers();
//TODO: rework
FileConfiguration.addParsers(new SerializableFunctionParser<>(RequirementChecker.class));
ActionParsers.addParsers();
FileConfiguration.addParsers(new ContentsParser());
FileConfiguration.addParsers(ContentsParser.class.getPackage().getName());
}
}

0 comments on commit ab1e978

Please sign in to comment.