From e6133ac67085209127e75186f8be794fde32981e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 14 Feb 2020 21:09:36 +0100 Subject: [PATCH] Fix TNT minecart igniting --- mods/ENTITIES/mcl_minecarts/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_minecarts/init.lua b/mods/ENTITIES/mcl_minecarts/init.lua index 136366dcc5..d845041c70 100644 --- a/mods/ENTITIES/mcl_minecarts/init.lua +++ b/mods/ENTITIES/mcl_minecarts/init.lua @@ -771,7 +771,7 @@ register_minecart( if held:get_name() == "mcl_fire:flint_and_steel" then if not minetest.settings:get_bool("creative_mode") then held:add_wear(65535/65) -- 65 uses - local index = clicker:get_wielded_index() + local index = clicker:get_wield_index() local inv = clicker:get_inventory() inv:set_stack("main", index, held) end