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:
@ -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.."]"
|
||||
|
Reference in New Issue
Block a user