mirror of
https://github.com/minetest-mods/item_drop.git
synced 2025-07-03 23:30:23 +02:00
Add GitHub workflow and LuaCheck (#34)
* Add GitHub workflow and LuaCheck * Fix LuaCheck warnings * Improve README.md
This commit is contained in:
2
init.lua
2
init.lua
@ -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
|
||||
|
Reference in New Issue
Block a user