mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-21 23:15:54 +02:00
Version 2.3 - cooldowns in action bar, more advanced bot, new cavebot, bug fixes
This commit is contained in:
@@ -38,7 +38,13 @@ function show(itemWidget)
|
||||
itemWidget:setItem(Item.create(window.item:getItemId(), window.item:getItemCount()))
|
||||
destroy()
|
||||
end
|
||||
|
||||
local clearFunc = function()
|
||||
window.item:setItemId(0)
|
||||
window.item:setItemCount(0)
|
||||
doneFunc()
|
||||
end
|
||||
|
||||
window.clearButton.onClick = clearFunc
|
||||
window.okButton.onClick = doneFunc
|
||||
window.cancelButton.onClick = destroy
|
||||
window.onEnter = doneFunc
|
||||
|
Reference in New Issue
Block a user