summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-11-12 00:06:14 +0100
committerPilzAdam <pilzadam@minetest.net>2013-11-16 15:52:41 +0100
commit90e7832408eb313676d40b747ec533c3b07e5c28 (patch)
treeb2cf6b99bbeb79e2cf519b040c8400cbae22ea9c /doc
parent35606cfb679d2d5ead0780c84371089745630c1b (diff)
downloadminetest-90e7832408eb313676d40b747ec533c3b07e5c28.tar.gz
minetest-90e7832408eb313676d40b747ec533c3b07e5c28.tar.bz2
minetest-90e7832408eb313676d40b747ec533c3b07e5c28.zip
Fix invalid listname and listsize not handled correctly in set_size
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index db9a5e8fa..7da978672 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1726,6 +1726,7 @@ methods:
- is_empty(listname): return true if list is empty
- get_size(listname): get size of a list
- set_size(listname, size): set size of a list
+ ^ returns false on error (e.g. invalid listname or listsize)
- get_width(listname): get width of a list
- set_width(listname, width): set width of list; currently used for crafting
- get_stack(listname, i): get a copy of stack index i in list