Fixed replace area validation

This commit is contained in:
Gonk
2019-03-28 21:49:24 +01:00
parent a4b2dc8b4e
commit 43831ae7e0

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 + "\".");
}
}