This commit is contained in:
kepler155c@gmail.com
2017-09-18 14:46:46 -04:00
parent 36fd5ca073
commit 00fe2c9989
5 changed files with 26 additions and 8 deletions

View File

@@ -222,7 +222,7 @@ function turtle.placeDown(slot) return _place(actions.down, slot) end
local function _drop(action, qtyOrName, qty)
if not qtyOrName or type(qtyOrName) == 'number' then
return action.drop(qtyOrName)
return action.drop(qtyOrName or 64)
end
return inventoryAction(action.drop, qtyOrName, qty)
end