Merge pull request #49 from MiraculixxGit/patch-1
Location to short String
This commit is contained in:
@@ -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]"
|
||||
|
Reference in New Issue
Block a user