mirror of
https://github.com/minetest-mods/item_drop.git
synced 2024-09-17 18:28:38 +02:00
Fix missing ore drops
This commit is contained in:
parent
f8b60b0b05
commit
6637bbb813
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