Merge pull request #116 from Chriz76/replaceareamapcheck

Fixed replace area validation
This commit is contained in:
Zukero
2019-04-10 15:21:50 +02:00
committed by GitHub

View File

@@ -313,7 +313,7 @@ public final class TMXMapTranslator {
else if (prop.name.equalsIgnoreCase(LAYERNAME_TOP)) layerNames.topLayersName = prop.value;
else if (prop.name.equalsIgnoreCase(LAYERNAME_WALKABLE)) layerNames.walkableLayersName = prop.value;
else if (AndorsTrailApplication.DEVELOPMENT_VALIDATEDATA) {
if (!requirementPropertiesNames.contains(prop.name))
if (!requirementPropertiesNames.contains(prop.name.toLowerCase()))
L.log("OPTIMIZE: Map " + map.name + " contains replace area with unknown property \"" + prop.name + "\".");
}
}