Merge pull request #49 from MiraculixxGit/patch-1

Location to short String
This commit is contained in:
Jannis Kramer
2022-05-24 19:34:44 +02:00
committed by GitHub

View File

@@ -45,3 +45,4 @@ fun SimpleLocation3D.toVector() = Vector(x, y, z)
* Returns a simple string in the format of `[x, y, z]`.
*/
fun Location.toSimpleString() = "[$x, $y, $z]"
fun Location.toSimpleBlockString() = "[$blockX, $blockY, $blockZ]"