diff --git a/nether/guide.lua b/nether/guide.lua index a4a160e..529495e 100644 --- a/nether/guide.lua +++ b/nether/guide.lua @@ -315,7 +315,7 @@ for n,data in ipairs(guide_infos) do elseif typ == "x" then x = math.max(x, content) elseif typ == "text" then - local tab = minetest.splittext(content, guide_size.fx) + local tab = minetest.wrap_text(content, guide_size.fx) local l = guide_size.cx for _,str in ipairs(tab) do form = form.."label["..guide_size.cx ..","..guide_size.cy+y..";"..str.."]"