Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Jun 26, 2023
1 parent 6c21892 commit 0485bc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ private ModConfigTracker() {

void register(@NotNull ModConfig config) {
if (fileMap.containsKey(config.getFilename())) {
throw new IllegalArgumentException("Config file conflict: " + fileMap.get(config.getFilename()).modId() + " and " + config.modId());
throw new IllegalArgumentException("Config file conflict: " + fileMap.get(config.getFilename()).getModId() + " and " + config.getModId());
}
}

Expand Down

0 comments on commit 0485bc5

Please sign in to comment.