mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Game.useOnCreature lua api
This commit is contained in:
@@ -22,7 +22,8 @@ end
|
||||
function debugContainersItems()
|
||||
function UIItem:onHoverChange(hovered)
|
||||
if hovered then
|
||||
ToolTip.display(self:getItem():getId())
|
||||
local item = self:getItem()
|
||||
if item then ToolTip.display(item:getId()) end
|
||||
else
|
||||
ToolTip.hide()
|
||||
end
|
||||
|
Reference in New Issue
Block a user