diff --git a/app/src/main/java/com/ggstudios/lolcraft/Build.java b/app/src/main/java/com/ggstudios/lolcraft/Build.java index c6a0ec9..4402bde 100644 --- a/app/src/main/java/com/ggstudios/lolcraft/Build.java +++ b/app/src/main/java/com/ggstudios/lolcraft/Build.java @@ -272,6 +272,7 @@ public class Build { // special keys... statKeyToIndex.put("@special.BraumWArmor", STAT_NULL); statKeyToIndex.put("@special.BraumWMR", STAT_NULL); + statKeyToIndex.put("@special.jaycew", STAT_NULL); statKeyToIndex.put("@cooldownchampion", STAT_CD_MOD); statKeyToIndex.put("@stacks", STAT_STACKS); diff --git a/app/src/main/java/com/ggstudios/lolcraft/LibraryUtils.java b/app/src/main/java/com/ggstudios/lolcraft/LibraryUtils.java index 8074b69..cee4745 100644 --- a/app/src/main/java/com/ggstudios/lolcraft/LibraryUtils.java +++ b/app/src/main/java/com/ggstudios/lolcraft/LibraryUtils.java @@ -104,9 +104,9 @@ public static ChampionInfo completeChampionInfo(Context con, ChampionInfo info) //DebugLog.d(TAG, "Data: " + champData.toString()); //DebugLog.d(TAG, "Data: " + skills.toString()); - Skill[] skills = new Skill[5]; + Skill[] skills = new Skill[skillsJson.length() + 1]; - String[] keys = {"q", "w", "e", "r"}; + String[] keys = {"q", "w", "e", "r", "", "", "", "", "", "", "", "", "", "", "",}; skills[0] = new ChampionInfo.Passive(); for (int i = 1; i < skills.length; i++) {