mirror of
https://github.com/minetest-mods/item_drop.git
synced 2025-03-14 08:10:24 +01:00
Fix LuaCheck warnings
This commit is contained in:
parent
df220bef35
commit
cb5984628d
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user