mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Fix invalid listname and listsize not handled correctly in set_size
This commit is contained in:
parent
35606cfb67
commit
90e7832408
3 changed files with 21 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue