forked from VoxeLibre/VoxeLibre
Fix crash when fueling furnace minecart
This commit is contained in:
parent
eea07f0ce7
commit
ef20ac54c3
|
@ -685,7 +685,7 @@ register_minecart(
|
|||
|
||||
if not minetest.settings:get_bool("creative_mode") then
|
||||
held:take_item()
|
||||
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