summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-29 18:16:24 +0100
committerWuzzy <almikes@aol.com>2016-11-29 18:16:24 +0100
commitc7eba913044fc2db021e87b433e01faa95165f60 (patch)
treecfd30cfefed218025166bf50065d977a12eba15b
parentcd98073c40a3340526a3a4238b5c71eefb57f2c5 (diff)
Add playername to build_formspec docs
-rw-r--r--API.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/API.md b/API.md
index 01b353d..8ffcadc 100644
--- a/API.md
+++ b/API.md
@@ -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)