Fixed infinitely claiming quests
This commit is contained in:
parent
e074d939a8
commit
96512d8907
|
|
@ -41,6 +41,7 @@ public class CommandGetReward extends SubCommand {
|
|||
}
|
||||
for (String command : dailyQuest.getRewardCommand())
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), command.replaceAll("<player>", commandSender.getName()));
|
||||
dailyQuest.setRewardReceived(true);
|
||||
player.sendMiniMessage(MessagesConfig.REWARD_SENT, null);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user