mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-01 14:17:29 +01:00
Fixed a crash
This commit is contained in:
parent
8a252342a5
commit
14ec7fe98f
@ -323,7 +323,7 @@ function minetest.handle_node_drops(pos, drops, digger)
|
||||
if hammer and hammer > 0 and nodedef._vl_crushing_drop then
|
||||
drops = nodedef._vl_crushing_drop
|
||||
-- Fortune drops
|
||||
else if tool and nodedef._mcl_fortune_drop and enchantments.fortune then
|
||||
elseif tool and nodedef._mcl_fortune_drop and enchantments.fortune then
|
||||
local fortune_level = enchantments.fortune
|
||||
local fortune_drop = nodedef._mcl_fortune_drop
|
||||
local simple_drop = nodedef._mcl_fortune_drop.drop_without_fortune
|
||||
|
Loading…
Reference in New Issue
Block a user