Remove settings legacy, require 0.4.15-dev or newer

This commit is contained in:
SmallJoker
2017-10-03 08:35:20 +02:00
parent e8119a63cd
commit 2229ededa5
2 changed files with 7 additions and 9 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