mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
Calling string.split(":A:B:C:D", ":") returns an empty array. This is due to first empty string not making repeat loop decreasing max_split which has a 0 value when reaching until. Changing max_splits default value from -1 to -2 fixes that issue.