fix crash when fueling powered minecarts
This commit is contained in:
parent
a866070bb6
commit
1cbebae5b8
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,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…
Add table
Reference in a new issue