mirror of
https://github.com/PikaMug/Quests.git
synced 2024-09-29 15:37:27 +02:00
Unstable
This commit is contained in:
parent
bc76c72e09
commit
99879b5817
@ -149,7 +149,8 @@ public class Quest {
|
|||||||
q.completedQuests.add(name);
|
q.completedQuests.add(name);
|
||||||
String none = ChatColor.GRAY + "- (None)";
|
String none = ChatColor.GRAY + "- (None)";
|
||||||
player.sendMessage(plugin.parseString(finished, q.currentQuest));
|
player.sendMessage(plugin.parseString(finished, q.currentQuest));
|
||||||
Quests.economy.depositPlayer(q.name, moneyReward);
|
if(moneyReward > 0 && Quests.economy != null)
|
||||||
|
Quests.economy.depositPlayer(q.name, moneyReward);
|
||||||
if(redoDelay > -1)
|
if(redoDelay > -1)
|
||||||
q.completedTimes.put(this.name, System.currentTimeMillis());
|
q.completedTimes.put(this.name, System.currentTimeMillis());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user