Performance and stability improvements
- improved performance of paper generation task - improved stability of spigot generation task - Updated Readme - added configuration parameters for max pending chunks and max loaded chunkspull/1/head
parent
c49036e35b
commit
5a5fe74d9c
@ -1,4 +1,10 @@
|
||||
package net.trivernis.chunkmaster.lib.generation
|
||||
|
||||
data class ChunkCoordinates(val x: Int, val z: Int) {
|
||||
import org.bukkit.Location
|
||||
import org.bukkit.World
|
||||
|
||||
class ChunkCoordinates(val x: Int, val z: Int) {
|
||||
fun getCenterLocation(world: World): Location {
|
||||
return Location(world, ((x*16) + 8).toDouble(), 1.0, ((x*16) + 8).toDouble())
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue