Fixed PlaceObject tag - do not display export name twice

This commit is contained in:
Jindra Petřík
2022-12-10 11:10:52 +01:00
parent fd76d6971f
commit 85ee36319f
2 changed files with 2 additions and 2 deletions

View File

@@ -102,8 +102,7 @@ public abstract class PlaceObjectTypeTag extends Tag implements CharacterIdTag {
if (getCharacterId() != -1) {
result += " (" + getCharacterId() + nameAppend + ")";
}
if (!nameAppend.isEmpty()) {
} else if (!nameAppend.isEmpty()) {
result += " (" + nameAppend + ")";
}