mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 22:23:28 +02:00
Fixes for bot and websocket based entergame
This commit is contained in:
@@ -276,9 +276,9 @@ Panels.Equip = function(parent)
|
||||
if slotItem and (slotItem:getId() == item1 or slotItem:getId() == item2) then
|
||||
return
|
||||
end
|
||||
local newItem = context.findItem(context.storage[panelName].item1, 0)
|
||||
local newItem = context.findItem(context.storage[panelName].item1)
|
||||
if not newItem then
|
||||
newItem = context.findItem(context.storage[panelName].item2, 0)
|
||||
newItem = context.findItem(context.storage[panelName].item2)
|
||||
if not newItem then
|
||||
return
|
||||
end
|
||||
|
Reference in New Issue
Block a user