|
|
@ -5,6 +5,6 @@ import org.bukkit.World
|
|
|
|
|
|
|
|
|
|
|
|
class ChunkCoordinates(val x: Int, val z: Int) {
|
|
|
|
class ChunkCoordinates(val x: Int, val z: Int) {
|
|
|
|
fun getCenterLocation(world: World): Location {
|
|
|
|
fun getCenterLocation(world: World): Location {
|
|
|
|
return Location(world, ((x*16) + 8).toDouble(), 1.0, ((x*16) + 8).toDouble())
|
|
|
|
return Location(world, ((x*16) + 8).toDouble(), 1.0, ((z*16) + 8).toDouble())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|