mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix craftresult_is_preview flood in log and remove unnecessary debug output
This commit is contained in:
parent
24b1008d56
commit
0e8bd531c2
2 changed files with 3 additions and 5 deletions
|
@ -159,7 +159,6 @@ function minetest.get_node_drops(nodename, toolname)
|
|||
local drop = ItemStack({name=nodename}):get_definition().drop
|
||||
if drop == nil then
|
||||
-- default drop
|
||||
print("default drop: " .. nodename)
|
||||
return {ItemStack({name=nodename})}
|
||||
elseif type(drop) == "string" then
|
||||
-- itemstring drop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue