From 8555f75acc050f29508d88f1e57159f79cb948d1 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Mon, 1 Apr 2019 19:38:47 -0400 Subject: update blox, castles, cottages, technic, farming_redo, gloopblocks, homedecor, led_marquee, locks, maptools, mesecons, plantlife, moreblocks, nixie_tubes, replacer, travelnet, and unified inventory --- replacer/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replacer') diff --git a/replacer/init.lua b/replacer/init.lua index ddb7478..e1f41b9 100644 --- a/replacer/init.lua +++ b/replacer/init.lua @@ -200,7 +200,7 @@ replacer.replace = function( itemstack, user, pointed_thing, mode ) -- in survival mode, the player has to provide the node he wants to place - if( not(minetest.setting_getbool("creative_mode") ) + if( not(minetest.settings:get_bool("creative_mode") ) and not( minetest.check_player_privs( name, {creative=true}))) then -- players usually don't carry dirt_with_grass around; it's safe to assume normal dirt here -- cgit v1.2.3