Skip to content

Commit 86eb97f

Browse files
committed
Reconnect fix
1 parent 93abaca commit 86eb97f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/005-container.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ Container = (function()
150150
count = nil
151151
}
152152

153+
if not fromContainer or not toContainer then
154+
callback()
155+
return
156+
end
157+
153158
-- Target move slot is last slot in the container by default
154159
if toSlot == nil then
155160
toSlot = xeno.getContainerItemCapacity(toContainer) - 1

0 commit comments

Comments
 (0)