From 2ae9e47d4b3c66e5429463b99bdf5d713f93e071 Mon Sep 17 00:00:00 2001 From: anonymous Date: Mon, 2 Oct 2017 20:48:48 +0100 Subject: [PATCH] Fixed deprecated calls. --- cart_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cart_entity.lua b/cart_entity.lua index 257aae6..858b92d 100644 --- a/cart_entity.lua +++ b/cart_entity.lua @@ -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