mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-02 13:41:30 +01:00
Unstable
This commit is contained in:
parent
bc76c72e09
commit
99879b5817
@ -149,6 +149,7 @@ 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));
|
||||||
|
if(moneyReward > 0 && Quests.economy != null)
|
||||||
Quests.economy.depositPlayer(q.name, moneyReward);
|
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