mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fix TNT minecart igniting
This commit is contained in:
parent
1ab41a494b
commit
e6133ac670
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue