Add lil logs
This commit is contained in:
@@ -314,6 +314,7 @@ local function stackToCursor()
|
|||||||
end
|
end
|
||||||
|
|
||||||
item = slot.slot.items[1]
|
item = slot.slot.items[1]
|
||||||
|
MyModGlobal.debugPrint(string.format("Stacking all player items to %s", item.Prefab.Identifier.Value))
|
||||||
utils.enqueueAllPlayerItems({}, function(ititem)
|
utils.enqueueAllPlayerItems({}, function(ititem)
|
||||||
if ititem.Prefab.Identifier.Value == item.Prefab.Identifier.Value then
|
if ititem.Prefab.Identifier.Value == item.Prefab.Identifier.Value then
|
||||||
if item == ititem then return false end
|
if item == ititem then return false end
|
||||||
@@ -359,6 +360,7 @@ local function stackAllToCursor()
|
|||||||
end
|
end
|
||||||
|
|
||||||
item = slot.slot.items[1]
|
item = slot.slot.items[1]
|
||||||
|
MyModGlobal.debugPrint(string.format("Stacking all items to %s", item.Prefab.Identifier.Value))
|
||||||
utils.enqueueAllOwnedItems({}, function(ititem)
|
utils.enqueueAllOwnedItems({}, function(ititem)
|
||||||
if ititem.Prefab.Identifier.Value == item.Prefab.Identifier.Value then
|
if ititem.Prefab.Identifier.Value == item.Prefab.Identifier.Value then
|
||||||
if item == ititem then return false end
|
if item == ititem then return false end
|
||||||
|
|||||||
Reference in New Issue
Block a user