Make coords more readable
parent
be5b4ccce7
commit
ca409e994e
4
init.lua
4
init.lua
|
@ -156,9 +156,9 @@ teleports.set_formspec = function(pos, shown_teleports)
|
|||
y = 1
|
||||
end
|
||||
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
|
||||
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
|
||||
y = y + 1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue