From 0bf2b8b8ab4d25f3b649b244b7e8f8c1891cbb92 Mon Sep 17 00:00:00 2001 From: Shaun Date: Mon, 17 May 2021 17:35:42 +0200 Subject: [PATCH] temp --- src/server/config/quests/templates/questLootGen.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/server/config/quests/templates/questLootGen.js b/src/server/config/quests/templates/questLootGen.js index 7da56b13..8f885225 100644 --- a/src/server/config/quests/templates/questLootGen.js +++ b/src/server/config/quests/templates/questLootGen.js @@ -54,6 +54,14 @@ module.exports = { } } + if (!this.item) { + this.setAsync({ + key: new Date(), + table: 'error', + value: this.obj.name + ' ' + this.mobType + }); + } + this.name = this.item.name + ' Gatherer'; this.description = 'Loot ' + this.have + '/' + this.need + ' ' + this.item.name + ' from ' + this.mobName;