Fixed deprecated calls.

This commit is contained in:
anonymous 2017-10-02 20:48:48 +01:00
parent e8119a63cd
commit 2ae9e47d4b
1 changed files with 1 additions and 1 deletions

View File

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