1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

Fix nether guide crash with last minetest backport-0.4 branch

This commit is contained in:
2018-04-01 05:25:24 +02:00
parent cd38b16f84
commit 5afa7f4a23
12 changed files with 12 additions and 12 deletions

View File

@ -317,7 +317,7 @@ for n,data in ipairs(guide_infos) do
elseif typ == "text" then
local wrap_func = minetest.wrap_text
if not wrap_func then wrap_func = minetest.splittext end
local tab = wrap_func(content, guide_size.fx)
local tab = wrap_func(content, guide_size.fx, true)
local l = guide_size.cx
for _,str in ipairs(tab) do
form = form.."label["..guide_size.cx ..","..guide_size.cy+y..";"..str.."]"