Add GitHub workflow and LuaCheck (#34)

* Add GitHub workflow and LuaCheck

* Fix LuaCheck warnings

* Improve README.md
This commit is contained in:
David Leal
2020-05-25 13:42:09 -05:00
committed by GitHub
parent f015cc1631
commit de38b20fa6
4 changed files with 35 additions and 6 deletions

View File

@ -103,7 +103,7 @@ if legacy_setting_getbool("item_drop.enable_item_pickup",
if pickup_particle then
local item = minetest.registered_nodes[
ent.itemstring:gsub("(.*)%s.*$", "%1")]
local image = ""
local image
if item and item.tiles and item.tiles[1] then
if inventorycube_drawtypes[item.drawtype] then
local tiles = item.tiles