diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2023-01-10 09:25:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 09:25:48 -0500 |
commit | ab1fe80150a8031fb702b9ff776db2db4dea89a4 (patch) | |
tree | e84252b4e32e9c7b65f60cec101c16335756eb47 /doc/lua_api.txt | |
parent | a3177b89d8e68d39b8e2ad24e88cd87820d1135a (diff) | |
download | minetest-ab1fe80150a8031fb702b9ff776db2db4dea89a4.tar.xz |
Error when string.split is given empty separator (#13132)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index fb6bc9df8..de0517d42 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3623,7 +3623,7 @@ Helper functions * `math.round(x)`: Returns `x` rounded to the nearest integer. * At a multiple of 0.5, rounds away from zero. * `string.split(str, separator, include_empty, max_splits, sep_is_pattern)` - * `separator`: string, default: `","` + * `separator`: string, cannot be empty, default: `","` * `include_empty`: boolean, default: `false` * `max_splits`: number, if it's negative, splits aren't limited, default: `-1` |