Return if no home earned
This commit is contained in:
1 parent
43b291f699
commit
969321a78f
1 file changed
+1
@@ -35,6 +35,7 @@ class ClaimQuest : CommandExecutor {
|
||||
val successful = nextQuest.consumeQuestItems(sender)
|
||||
if (!successful) {
|
||||
UtilitiesOG.trueogMessage(sender, "<red>Something wrong while trying to consume the quest items.")
|
||||
return@launch
|
||||
}
|
||||
nextQuest.reward(sender)
|
||||
val homeCount = HomesProgression.getHomeCount(nextQuest)
|
||||
|
||||
Reference in new issue
Block a user