mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2025-01-12 02:50: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
|
||||
end
|
||||
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
if not minetest.settings:get_bool("creative_mode") then
|
||||
itemstack:take_item()
|
||||
end
|
||||
return itemstack
|
||||
|
Loading…
Reference in New Issue
Block a user