mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 18:35:20 +02:00
Fix invalid listname and listsize not handled correctly in set_size
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user