mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-04 14:53:51 +01:00
Fix TNT minecart igniting
This commit is contained in:
parent
1ab41a494b
commit
e6133ac670
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user