}
private boolean registerDefaultIcon(String name) {
if (name.startsWith(this.mapName) && name.endsWith(".png") && this.baseTextureMap != null) {
String defaultName = name.substring(this.mapName.length()).replaceFirst("\\.png$", "");
TextureAtlasSprite texture = (TextureAtlasSprite)this.baseTexturesByName.get(defaultName);
if (texture != null) {
this.subLogger.finer("%s -> existing icon %s", new Object[] {name, defaultName});
this.iconMap.put(name, texture);
return true;