Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Minges b1501a197d fix crash when fueling powered minecarts 2020-04-29 19:05:18 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -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