style: change string formatting
This commit is contained in:
@@ -159,7 +159,7 @@ end
|
|||||||
function handleScan(keys, id)
|
function handleScan(keys, id)
|
||||||
local turt = registerTurtle({ keys.positionX, keys.positionY, keys.positionZ }, keys.fuel, id)
|
local turt = registerTurtle({ keys.positionX, keys.positionY, keys.positionZ }, keys.fuel, id)
|
||||||
|
|
||||||
log.info("Received turtle info (pos: %d, %d, %d - fuel: %d - channel: %d - id: %d)", turt.position[1],
|
log.info("Received turtle info (pos: %d, %d, %d | fuel: %d | channel: %d | id: %d)", turt.position[1],
|
||||||
turt.position[2], turt.position[3], turt.fuel, turt.channel, id)
|
turt.position[2], turt.position[3], turt.fuel, turt.channel, id)
|
||||||
|
|
||||||
sendToAll("REGISTER", { ["id"] = id, ["turtleChannel"] = turt.channel })
|
sendToAll("REGISTER", { ["id"] = id, ["turtleChannel"] = turt.channel })
|
||||||
|
|||||||
Reference in New Issue
Block a user