mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Don't warn when 'top' is missing (old maps don't have it, and that's ok)
This commit is contained in:
@@ -373,7 +373,7 @@ public final class TMXMapTranslator {
|
||||
if (layerName.length() == 0) return null;
|
||||
TMXLayer result = layersPerLayerName.get(layerName.toLowerCase());
|
||||
if (AndorsTrailApplication.DEVELOPMENT_VALIDATEDATA) {
|
||||
if (result == null) {
|
||||
if (result == null && !"top".equals(layerName)) {
|
||||
L.log("WARNING: Cannot find maplayer \"" + layerName + "\" requested by map \"" + mapName + "\".");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user