mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 15:16:41 +01:00
Adhere to line width
This commit is contained in:
parent
be3248eeea
commit
a0c7167365
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user