We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
firstSessionSpawnPoint
1 parent c23ec24 commit f9cd7cdCopy full SHA for f9cd7cd
src/main/kotlin/com/mairwunnx/projectessentials/spawn/ModuleObject.kt
@@ -79,8 +79,8 @@ class ModuleObject : IModule {
79
}
80
81
private fun firstSessionSpawnPoint(event: FMLServerStartingEvent) {
82
- val world = event.server.getWorld(DimensionType.OVERWORLD)
83
if (firstLaunch) {
+ val world = event.server.getWorld(DimensionType.OVERWORLD)
84
spawnConfiguration.take().xPos = world.spawnPoint.x
85
spawnConfiguration.take().yPos = world.spawnPoint.y
86
spawnConfiguration.take().zPos = world.spawnPoint.z
0 commit comments