Put coords in brackets
parent
aaa7aa8a85
commit
be5b4ccce7
2
init.lua
2
init.lua
|
@ -158,7 +158,7 @@ teleports.set_formspec = function(pos, shown_teleports)
|
||||||
if EachTeleport["name"] then
|
if EachTeleport["name"] then
|
||||||
buttons = buttons.."button_exit["..x..","..y..";3.5,0.5;tp"..i..";"..F(S("GO>@1",EachTeleport.name)).."]";
|
buttons = buttons.."button_exit["..x..","..y..";3.5,0.5;tp"..i..";"..F(S("GO>@1",EachTeleport.name)).."]";
|
||||||
else
|
else
|
||||||
buttons = buttons.."button_exit["..x..","..y..";3.5,0.5;tp"..i..";"..F(S("GO>@1,@2,@3",EachTeleport.pos.x,EachTeleport.pos.y,EachTeleport.pos.z)).."]";
|
buttons = buttons.."button_exit["..x..","..y..";3.5,0.5;tp"..i..";"..F(S("GO>(@1,@2,@3)",EachTeleport.pos.x,EachTeleport.pos.y,EachTeleport.pos.z)).."]";
|
||||||
end
|
end
|
||||||
y = y + 1
|
y = y + 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue