Added waypoints addresses to navigation#findWaypoints

Like
{
  redstone = <power>,
  position={<x>,<y>,<z>},
  label = "<label>",
  address = "<waypoint address uuid>"
}
This commit is contained in:
hohserg 2020-01-06 18:23:11 +03:00 committed by payonel
parent a19bb2b692
commit b9cc1663b2

View File

@ -83,7 +83,8 @@ class UpgradeNavigation(val host: EnvironmentHost with Rotatable) extends prefab
Map(
"position" -> Array(delta.xCoord, delta.yCoord, delta.zCoord),
"redstone" -> waypoint.maxInput,
"label" -> waypoint.label
"label" -> waypoint.label,
"address" -> waypoint.node.address()
)
}).toArray)
}