diff --git a/fs_edit_general.lua b/fs_edit_general.lua index 2725aba..91025a0 100644 --- a/fs_edit_general.lua +++ b/fs_edit_general.lua @@ -1494,7 +1494,9 @@ yl_speak_up.get_fs_edit_option_effect_give_item_or_take_item = function( end -yl_speak_up.get_fs_edit_option_effect_move = function(pname, dialog, formspec, data, id_prefix, save_button, e) +-- "move the player to a given position (requires npc_master priv)", -- 9 +yl_speak_up.get_fs_edit_option_effect_move = function( + pname, dialog, formspec, data, id_prefix, save_button, e) if(e) then if(e[ "r_value"] and type(e[ "r_value" ]) == "string") then local pos = minetest.string_to_pos(e[ "r_value" ]) @@ -1505,7 +1507,8 @@ yl_speak_up.get_fs_edit_option_effect_move = function(pname, dialog, formspec, d end end end - return "label[0.2,3.0;Move the player to this position:]".. + return formspec.. + "label[0.2,3.0;Move the player to this position:]".. "label[0.2,3.5;Note: You can *save* this effect only if you have the ".. "\"npc_master\" priv!]".. "label[0.2,5.3;X:]"..