1
0
mirror of https://github.com/Sokomine/replacer.git synced 2025-07-04 00:51:23 +02:00

renamed obsolete functions to new name

This commit is contained in:
Sokomine
2019-03-11 23:47:05 +01:00
parent a535be2382
commit 7bfcb73607
2 changed files with 2 additions and 2 deletions

View File

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