mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-24 16:01:11 +01:00
Fixed a crash
This commit is contained in:
parent
8a252342a5
commit
14ec7fe98f
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ function minetest.handle_node_drops(pos, drops, digger)
|
||||||
if hammer and hammer > 0 and nodedef._vl_crushing_drop then
|
if hammer and hammer > 0 and nodedef._vl_crushing_drop then
|
||||||
drops = nodedef._vl_crushing_drop
|
drops = nodedef._vl_crushing_drop
|
||||||
-- Fortune drops
|
-- 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_level = enchantments.fortune
|
||||||
local fortune_drop = nodedef._mcl_fortune_drop
|
local fortune_drop = nodedef._mcl_fortune_drop
|
||||||
local simple_drop = nodedef._mcl_fortune_drop.drop_without_fortune
|
local simple_drop = nodedef._mcl_fortune_drop.drop_without_fortune
|
||||||
|
|
Loading…
Reference in a new issue