@@ -559,7 +559,10 @@ public RuneStat deserialize(JsonParser jp, DeserializationContext ctxt) throws I
559559 JsonNode root = jp .getCodec ().readTree (jp );
560560
561561 return new RuneStat (root .get ("id" ).asInt (), root .get ("name" ).asText (),
562- String .format ("%s/cdn/img/%s" , STConstants .DDRAGON_BASE_PATH , root .get ("iconPath" ).asText ()),
562+
563+ String .format ("%s/latest/plugins/rcp-be-lol-game-data/global/default/%s" ,
564+ STConstants .CDRAGON_BASE_PATH ,
565+ root .get ("iconPath" ).asText ().replace ("/lol-game-data/assets/" , "" ).toLowerCase ()),
563566 root .get ("shortDesc" ).asText (), root .get ("longDesc" ).asText ());
564567 }
565568 }
@@ -608,13 +611,13 @@ public Skin deserialize(JsonParser jp, DeserializationContext ctxt) throws IOExc
608611 return new Skin (root .get ("id" ).asInt (), root .get ("isBase" ).asBoolean (), root .get ("name" ).asText (),
609612 String .format ("%s/latest/plugins/rcp-be-lol-game-data/global/default/%s" ,
610613 STConstants .CDRAGON_BASE_PATH ,
611- root .get ("uncenteredSplashPath" ).asText ().replace ("/lol-game-data/assets/" , "" )),
614+ root .get ("uncenteredSplashPath" ).asText ().replace ("/lol-game-data/assets/" , "" ). toLowerCase () ),
612615 String .format ("%s/latest/plugins/rcp-be-lol-game-data/global/default/%s" ,
613616 STConstants .CDRAGON_BASE_PATH ,
614- root .get ("tilePath" ).asText ().replace ("/lol-game-data/assets/" , "" )),
617+ root .get ("tilePath" ).asText ().replace ("/lol-game-data/assets/" , "" ). toLowerCase () ),
615618 String .format ("%s/latest/plugins/rcp-be-lol-game-data/global/default/%s" ,
616619 STConstants .CDRAGON_BASE_PATH ,
617- root .get ("loadScreenPath" ).asText ().replace ("/lol-game-data/assets/" , "" )),
620+ root .get ("loadScreenPath" ).asText ().replace ("/lol-game-data/assets/" , "" ). toLowerCase () ),
618621 MAPPER .readerFor (Rarity .class ).readValue (root .get ("rarity" )),
619622 root .get ("isLegacy" ).asBoolean (), root .has ("chromas" ) ?
620623 MAPPER .readerForListOf (Chroma .class ).readValue (root .get ("chromas" )) : null ,
0 commit comments