Fixed sender type for druid_instance.on_message()

This commit is contained in:
Roman Silin 2024-06-12 12:55:11 +03:00
parent e2108a5f1e
commit 3bf50660b3
2 changed files with 2 additions and 2 deletions

View File

@ -1653,7 +1653,7 @@ function druid_instance.on_input(self, action_id, action) end
---@param self druid_instance
---@param message_id hash Message_id from on_message
---@param message table Message from on_message
---@param sender hash Sender from on_message
---@param sender url Sender from on_message
function druid_instance.on_message(self, message_id, message, sender) end
--- Remove created component from Druid instance.

View File

@ -397,7 +397,7 @@ end
-- @tparam DruidInstance self
-- @tparam hash message_id Message_id from on_message
-- @tparam table message Message from on_message
-- @tparam hash sender Sender from on_message
-- @tparam url sender Sender from on_message
function DruidInstance.on_message(self, message_id, message, sender)
local specific_ui_message = base_component.SPECIFIC_UI_MESSAGES[message_id]