mirror of
https://github.com/minetest-mods/item_drop.git
synced 2024-11-09 00:43:46 +01: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
|
-- Sometimes nothing should be dropped
|
||||||
if name == ""
|
if name == ""
|
||||||
or not minetest.registered_nodes[name] then
|
or not minetest.registered_items[name] then
|
||||||
count = 0
|
count = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user