Fixes for bot and websocket based entergame

This commit is contained in:
OTCv8
2019-11-27 23:06:03 +01:00
committed by bbarwik
parent c750ea65f8
commit ddb155333d
11 changed files with 277 additions and 5 deletions

View File

@@ -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