diff --git a/main/src/main/java/me/blackvein/quests/Quester.java b/main/src/main/java/me/blackvein/quests/Quester.java index 1ac8d6ac0..84cb87644 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -518,7 +518,8 @@ public class Quester { plugin.showObjectives(q, this, false); String stageStartMessage = stage.startMessage; if (stageStartMessage != null) { - getPlayer().sendMessage(ConfigUtil.parseStringWithPossibleLineBreaks(stageStartMessage, q, getPlayer())); + getPlayer().sendMessage(ConfigUtil + .parseStringWithPossibleLineBreaks(stageStartMessage, q, getPlayer())); } if (stage.chatEvents.isEmpty() == false) { for (String chatTrigger : stage.chatEvents.keySet()) { @@ -1915,13 +1916,13 @@ public class Quester { if (index >= getQuestData(quest).hasReached.size()) { getQuestData(quest).hasReached.add(true); finishObjective(quest, "reachLocation", new ItemStack(Material.AIR, 1), - new ItemStack(Material.AIR, 1), null, null, null, null, location, null, null, - null); + new ItemStack(Material.AIR, 1), null, null, null, null, location, null, + null, null); } else if (getQuestData(quest).hasReached.get(index) == false) { getQuestData(quest).hasReached.set(index, true); finishObjective(quest, "reachLocation", new ItemStack(Material.AIR, 1), - new ItemStack(Material.AIR, 1), null, null, null, null, location, null, null, - null); + new ItemStack(Material.AIR, 1), null, null, null, null, location, null, + null, null); } // Multiplayer diff --git a/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java b/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java index a20605191..9696b5ea2 100644 --- a/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java +++ b/main/src/main/java/me/blackvein/quests/listeners/CmdExecutor.java @@ -382,7 +382,8 @@ public class CmdExecutor implements CommandExecutor { } if (reqs.getMcmmoSkills().isEmpty() == false) { for (String skill : reqs.getMcmmoSkills()) { - int level = plugin.getDependencies().getMcmmoSkillLevel(Quests.getMcMMOSkill(skill), player.getName()); + int level = plugin.getDependencies().getMcmmoSkillLevel(Quests + .getMcMMOSkill(skill), player.getName()); int req = reqs.getMcmmoAmounts().get(reqs.getMcmmoSkills().indexOf(skill)); String skillName = MiscUtil.getCapitalized(skill); if (level >= req) {