mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2025-12-22 03:05:36 +01:00
Fixed deprecated calls.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user