diff --git a/mcMMO-core/.gradle/buildOutputCleanup/outputFiles.bin b/mcMMO-core/.gradle/buildOutputCleanup/outputFiles.bin deleted file mode 100644 index 0e0d42950..000000000 Binary files a/mcMMO-core/.gradle/buildOutputCleanup/outputFiles.bin and /dev/null differ diff --git a/mcMMO-core/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java b/mcMMO-core/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java index 4dc1a67ea..49e512a2c 100644 --- a/mcMMO-core/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java +++ b/mcMMO-core/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java @@ -259,11 +259,13 @@ public abstract class SkillCommand implements TabExecutor { String statDescriptionKey = !isExtra ? subSkillType.getLocaleKeyStatDescription() : subSkillType.getLocaleKeyStatExtraDescription(); if(isCustom) - return LocaleLoader.getString(templateKey, LocaleLoader.getString(statDescriptionKey, vars)); + //Cast to Object[] to suppress warnings + return LocaleLoader.getString(templateKey, LocaleLoader.getString(statDescriptionKey, (Object[]) vars)); else { String[] mergedList = addItemToFirstPositionOfArray(LocaleLoader.getString(statDescriptionKey), vars); - return LocaleLoader.getString(templateKey, mergedList); + //Cast to Object[] to suppress warnings + return LocaleLoader.getString(templateKey, (Object[]) mergedList); } }