diff --git a/druid/annotations.lua b/druid/annotations.lua index fc967b2..efd981f 100644 --- a/druid/annotations.lua +++ b/druid/annotations.lua @@ -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. diff --git a/druid/system/druid_instance.lua b/druid/system/druid_instance.lua index c16a2a4..02f875d 100755 --- a/druid/system/druid_instance.lua +++ b/druid/system/druid_instance.lua @@ -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]