mirror of
https://github.com/PikaMug/Quests.git
synced 2024-09-09 14:08:02 +02:00
Employ missing bullet for Kill Mob objectives, part 2
This commit is contained in:
parent
5dc39f9b83
commit
0ef425263c
@ -1194,7 +1194,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
|||||||
? ChatColor.GREEN : ChatColor.GRAY;
|
? ChatColor.GREEN : ChatColor.GRAY;
|
||||||
String message = color + "- ";
|
String message = color + "- ";
|
||||||
if (stage.locationsToKillWithin.isEmpty()) {
|
if (stage.locationsToKillWithin.isEmpty()) {
|
||||||
message = Lang.get(quester.getPlayer(), "kill");
|
message += Lang.get(quester.getPlayer(), "kill");
|
||||||
if (message.contains("<count>")) {
|
if (message.contains("<count>")) {
|
||||||
message = message.replace("<count>", "" + color
|
message = message.replace("<count>", "" + color
|
||||||
+ (data.mobNumKilled.get(data.mobsKilled.indexOf(e2))) + "/"
|
+ (data.mobNumKilled.get(data.mobsKilled.indexOf(e2))) + "/"
|
||||||
@ -1206,8 +1206,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
|||||||
+ (stage.mobNumToKill.get(stage.mobsToKill.indexOf(e)));
|
+ (stage.mobNumToKill.get(stage.mobsToKill.indexOf(e)));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
message = Lang.get(quester.getPlayer(), "killAtLocation");
|
message += Lang.get(quester.getPlayer(), "killAtLocation").replace("<location>",
|
||||||
message = message.replace("<location>",
|
|
||||||
stage.killNames.get(stage.mobsToKill.indexOf(e)));
|
stage.killNames.get(stage.mobsToKill.indexOf(e)));
|
||||||
if (message.contains("<count>")) {
|
if (message.contains("<count>")) {
|
||||||
message = message.replace("<count>", "" + color
|
message = message.replace("<count>", "" + color
|
||||||
|
Loading…
Reference in New Issue
Block a user