mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
minor warning fix
This commit is contained in:
parent
96e35eeb1d
commit
ec9ea9e33d
@ -99,7 +99,7 @@ local function onCreatureSpeak(name, level, speaktype, message, channelId, creat
|
||||
|
||||
if channel then
|
||||
Console.addText(message, speaktype, channel)
|
||||
else
|
||||
elseif channelid ~= 0 then
|
||||
-- server sent a message on a channel that is not open
|
||||
warning('message in channel id ' .. channelId .. ' which is unknown, this is a server bug, relogin if you want to see messages in this channel')
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user