@@ -2326,7 +2326,7 @@ Helper functions
2326
2326
* `sep_is_pattern`: boolean, it specifies whether separator is a plain
2327
2327
string or a pattern (regex), default: `false`
2328
2328
* e.g. `"a,b":split","` returns `{"a","b"}`
2329
- * `string:trim()`: returns the string whithout whitespace pre- and suffixes
2329
+ * `string:trim()`: returns the string without whitespace pre- and suffixes
2330
2330
* e.g. `"\n \t\tfoo bar\t ":trim()` returns `"foo bar"`
2331
2331
* `minetest.wrap_text(str, limit, as_table)`: returns a string or table
2332
2332
* Adds newlines to the string to keep it within the specified character
@@ -3407,7 +3407,7 @@ These functions return the leftover itemstack.
3407
3407
* `minetest.decode_base64(string)`: returns string
3408
3408
* Decodes a string encoded in base64.
3409
3409
* `minetest.is_protected(pos, name)`: returns boolean
3410
- * Returns true, if player `name` shouldn't be abled to dig at `pos` or do other
3410
+ * Returns true, if player `name` shouldn't be able to dig at `pos` or do other
3411
3411
actions, definable by mods, due to some mod-defined ownership-like concept.
3412
3412
Returns false or nil, if the player is allowed to do such actions.
3413
3413
* `name` will be "" for non-players or unknown players.
0 commit comments