diff --git a/core/src/main/java/tc/oc/pgm/map/MapInfoImpl.java b/core/src/main/java/tc/oc/pgm/map/MapInfoImpl.java index 718d0d4ea2..2ecef78116 100644 --- a/core/src/main/java/tc/oc/pgm/map/MapInfoImpl.java +++ b/core/src/main/java/tc/oc/pgm/map/MapInfoImpl.java @@ -267,7 +267,7 @@ public Component getStyledName(MapNameStyle style) { } private Component parseGamemode(Element root) throws InvalidXMLException { - Component gamemode = XMLUtils.parseFormattedText(root, "game"); + Component gamemode = XMLUtils.parseFormattedText(Node.fromLastChildOrAttr(root, "game")); if (gamemode == null) { for (Element title : XMLUtils.flattenElements(root, "blitz", "title")) {