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