1
0
Fork 0

Fix TNT minecart igniting

This commit is contained in:
Wuzzy 2020-02-14 21:09:36 +01:00
parent 1ab41a494b
commit e6133ac670
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ register_minecart(
if held:get_name() == "mcl_fire:flint_and_steel" then if held:get_name() == "mcl_fire:flint_and_steel" then
if not minetest.settings:get_bool("creative_mode") then if not minetest.settings:get_bool("creative_mode") then
held:add_wear(65535/65) -- 65 uses held:add_wear(65535/65) -- 65 uses
local index = clicker:get_wielded_index() local index = clicker:get_wield_index()
local inv = clicker:get_inventory() local inv = clicker:get_inventory()
inv:set_stack("main", index, held) inv:set_stack("main", index, held)
end end