3c355a9

Bowmap · bowmap.git · Tickets

Branches > main > 3c355a9 > files

Fix typo in block-location> writer docstring

Grahp, 2026-10-07

Commit: 3c355a905ba5993ba3597dc7e48da43ab6d7c9ff
Parent: fb2cea5

1 changed file:

src/net/bowmap/server/protocol/writers.clj modified (view file)

@@ -211,7 +211,7 @@  (defn block-location>   "Writes a block location as a 64-bit integer made of 3 signed integers: 26-   bits for the x, 26 bits for the y, and 16 bits for the z. Throws if any+   bits for the x, 26 bits for the y, and 12 bits for the z. Throws if any    of the coordinates do not fit within their respective integer sizes."   [buf {::block/keys! [x y z]}]   {:pre [(<= (Math/pow -2 25) x (- (Math/pow 2 25) 1))