From 14ec7fe98f48cd0b56113d581e5f7c799f7ebee3 Mon Sep 17 00:00:00 2001 From: the-real-herowl Date: Sun, 29 Dec 2024 01:54:58 +0100 Subject: [PATCH] Fixed a crash --- mods/ENTITIES/mcl_item_entity/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index 98a212f36..08ead7f26 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -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