diff --git a/editor/scripts/LegacySpellConverter b/editor/scripts/LegacySpellConverter index e6c81d011..a0fde9725 100644 --- a/editor/scripts/LegacySpellConverter +++ b/editor/scripts/LegacySpellConverter @@ -316,7 +316,8 @@ while (it.hasNext()) { File file = it.next(); if (file.isFile() && file.getPath().startsWith(rootDirectory) - && !file.getName().equalsIgnoreCase("README")) { + && !file.getName().equalsIgnoreCase("README") + && !file.getName().endsWith(".msg")) { convertMap(file, file.getPath().substring(mapDefaultFolder.length())); } } diff --git a/editor/scripts/MapNormalizer b/editor/scripts/MapNormalizer index 90fcca514..d2424ded3 100644 --- a/editor/scripts/MapNormalizer +++ b/editor/scripts/MapNormalizer @@ -48,7 +48,8 @@ while (it.hasNext()) { File file = it.next(); if (file.isFile() && file.getPath().startsWith(rootDirectory) - && !file.getName().equalsIgnoreCase("README")) { + && !file.getName().equalsIgnoreCase("README") + && !file.getName().endsWith(".msg")) { normalizeMap(file, file.getPath().substring(mapDefaultFolder.length())); } } diff --git a/editor/scripts/MapValidator b/editor/scripts/MapValidator index 267d29279..dee78b1b3 100644 --- a/editor/scripts/MapValidator +++ b/editor/scripts/MapValidator @@ -87,7 +87,8 @@ try { File file = it.next(); if (file.isFile() && file.getPath().startsWith(rootDirectory) - && !file.getName().equalsIgnoreCase("README")) { + && !file.getName().equalsIgnoreCase("README") + && !file.getName().endsWith(".msg")) { checkMap(file, file.getPath().substring(mapDefaultFolder.length())); } }