mirror of
https://github.com/minetest-mods/item_drop.git
synced 2024-12-22 22:02:26 +01:00
Fix missing ore drops
This commit is contained in:
parent
532a3cb0d0
commit
427117d786
2
init.lua
2
init.lua
@ -331,7 +331,7 @@ and not minetest.settings:get_bool("creative_mode") then
|
||||
|
||||
-- Sometimes nothing should be dropped
|
||||
if name == ""
|
||||
or not minetest.registered_nodes[name] then
|
||||
or not minetest.registered_items[name] then
|
||||
count = 0
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user