[LuaCheck]: Various changes and improvements (#65)

* Add GitHub workflow
* Fix LuaCheck warnings
* Add build status badge on README.md
This commit is contained in:
David Leal
2021-01-16 02:59:19 -06:00
committed by GitHub
parent ab2eb4af43
commit dc6cc0b04a
6 changed files with 26 additions and 9 deletions

View File

@ -229,7 +229,7 @@ minetest.register_node("digilines:chest", {
last_inventory_take_index = index
return stack:get_count()
end,
on_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)
on_metadata_inventory_move = function(pos, _, from_index, _, to_index, count, player)
-- See what would happen if we were to move the items back from in the
-- opposite direction. In the event of a normal move, this must
-- succeed, because a normal move subtracts some items from the from