mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-24 18:18:20 +01:00
Merge branch 'CustomModuleFixes'
This commit is contained in:
commit
83c602e0f5
@ -510,7 +510,7 @@ public class Quest {
|
||||
for (String key : datamap.keySet()) {
|
||||
message = message.replaceAll("%" + ((String) key) + "%", ((String) datamap.get(key)));
|
||||
}
|
||||
player.sendMessage("- " + ChatColor.GOLD + found.getRewardName());
|
||||
player.sendMessage("- " + ChatColor.GOLD + message);
|
||||
found.giveReward(player, customRewards.get(s));
|
||||
} else {
|
||||
plugin.getLogger().warning("[Quests] Quester \"" + player.getName() + "\" completed the Quest \"" + name + "\", but the Custom Reward \"" + s + "\" could not be found. Does it still exist?");
|
||||
|
Loading…
Reference in New Issue
Block a user