add setting for custom edit priv (#15)

* add setting for custom edit priv

* fix indent

* hmm maybe now?
This commit is contained in:
Niklp
2022-10-27 02:00:43 +02:00
committed by GitHub
parent 8aafe6608c
commit 3d0e8d47e6
5 changed files with 11 additions and 3 deletions

2
API.md
View File

@ -250,7 +250,7 @@ signs_lib.register_sign("basic_signs:sign_wall_glass", {
* `signs_lib.rightclick_sign(pos, node, player, itemstack, pointed_thing)`
Open the default sign formspec, if the player has the `signslib_edit` privilege.
Open the default sign formspec, if the player has the `signslib_edit` privilege. (privilege can be set by `signs_lib.edit_priv` setting)
* `signs_lib.destruct_sign(pos)`