Skip to content

Commit

Permalink
Only check .xml files in the map includes directory (#1119)
Browse files Browse the repository at this point in the history
Signed-off-by: applenick <[email protected]>
  • Loading branch information
applenick authored Feb 2, 2023
1 parent 188bf2d commit 151dcbf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public void reload(Config config) {
}
File[] files = includeFiles.listFiles();
for (File file : files) {
if (!file.getName().endsWith(".xml")) continue;
try {
MapIncludeImpl include = new MapIncludeImpl(file);
this.includes.put(include.getId(), include);
Expand Down

0 comments on commit 151dcbf

Please sign in to comment.