mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2025-01-12 11:00:31 +01:00
Fixed deprecated calls.
This commit is contained in:
parent
e8119a63cd
commit
2ae9e47d4b
@ -376,7 +376,7 @@ if not boost_cart.mtg_compat then
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if not minetest.setting_getbool("creative_mode") then
|
if not minetest.settings:get_bool("creative_mode") then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
return itemstack
|
return itemstack
|
||||||
|
Loading…
Reference in New Issue
Block a user