Add playername to build_formspec docs

This commit is contained in:
Wuzzy 2016-11-29 18:16:24 +01:00
parent cd98073c40
commit c7eba91304

3
API.md
View File

@ -118,7 +118,8 @@ data.
First letter capitalized, no punctuation at the end,
max. 100 characters
* `build_formspec`: The template function (see below). Takes entry data
as its only parameter (has the data type of the entry data) and must
as its first parameter (has the data type of the entry data) and the
name of the player who views the entry as its second parameter. It must
return a formspec which is inserted in the Entry tab.
* `sorting`: (optional) Sorting algorithm for display order of entries
* `"abc"`: Alphabetical (default)