Closed Megaf closed 6 years ago
Use:
local tab = minetest.wrap_text(content, guide_size.fx, true)
Needs 3rd argument 'true' to ensure 'tab' is a table.
See https://github.com/minetest/minetest/blob/649eef9e4fe4ef6a59ca9f59c900c6e0900cfb3a/builtin/common/misc_helpers.lua#L311
wrap_text
was changed recently (and a 3rd argument was added) which probably caused this error.
https://github.com/minetest/minetest/commit/6fa2f6b4aa42683fc85a6ce4a2a03a4b47c36974
See issue https://github.com/minetest/minetest/issues/6234 for explanation. It seems the old form was broken and weird, and it was fixed, but the nether mod depended on the old broken behaviour.
I amed Megaf's fix: https://github.com/HybridDog/nether-pack/commit/acdf6943563b333674bbf294b277930646890ec9 It stopped crashing now.
Testing on Minetest backport-0.4 branch.