mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
Minor fix from last commit.
This commit is contained in:
@@ -94,7 +94,7 @@ local function onCreatureSpeak(name, level, speaktype, message, channelId, creat
|
||||
if speaktype.private then
|
||||
Console.addPrivateText(composedMessage, speaktype, name, false, name)
|
||||
if Options.getOption('showPrivateMessagesOnScreen') then
|
||||
if(speakType.speakType ~= privateNpcToPlayer) then
|
||||
if(speaktype.speakType ~= SpeakPrivateNpcToPlayer) then
|
||||
TextMessage.displayPrivate(name .. ':\n' .. message)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user