From 90e7832408eb313676d40b747ec533c3b07e5c28 Mon Sep 17 00:00:00 2001 From: sapier Date: Tue, 12 Nov 2013 00:06:14 +0100 Subject: Fix invalid listname and listsize not handled correctly in set_size --- doc/lua_api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') 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 -- cgit v1.2.3