From d9fb7bdc6522db68e2825381c482d2fd75c64854 Mon Sep 17 00:00:00 2001 From: Michal Korejwo Date: Thu, 16 Nov 2023 12:51:05 +0100 Subject: [PATCH] send 0/1 as value --- data/lib/core/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/lib/core/player.lua b/data/lib/core/player.lua index f6b12ca1ba..ba10b3de18 100644 --- a/data/lib/core/player.lua +++ b/data/lib/core/player.lua @@ -417,7 +417,7 @@ function Player.sendQuestLog(self) for _, quest in pairs(quests) do msg:addU16(quest.id) msg:addString(quest.name) - msg:addByte(quest:isCompleted(self)) + msg:addByte(quest:isCompleted(self) and 0x01 or 0x00) end msg:sendToPlayer(self)