From 36523f88780cfa8791d8321d42e44a3171d3e56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=22Gubihe?= Date: Thu, 16 Nov 2023 18:41:35 +0100 Subject: [PATCH] Send 0/1 as value in quest completion check (#4563) --- 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)