File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/kotlin/com/mairwunnx/projectessentials/spawn/configurations Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package com.mairwunnx.projectessentials.spawn.configurations
3
3
import com.mairwunnx.projectessentials.core.api.v1.configuration.IConfiguration
4
4
import com.mairwunnx.projectessentials.core.api.v1.helpers.jsonInstance
5
5
import com.mairwunnx.projectessentials.core.api.v1.helpers.projectConfigDirectory
6
+ import com.mairwunnx.projectessentials.spawn.firstLaunch
6
7
import net.minecraftforge.fml.server.ServerLifecycleHooks
7
8
import org.apache.logging.log4j.LogManager
8
9
import java.io.File
@@ -28,6 +29,7 @@ object SpawnConfiguration : IConfiguration<SpawnConfigurationModel> {
28
29
} catch (ex: FileNotFoundException ) {
29
30
logger.error(" Configuration file ($path ) not found!" )
30
31
logger.warn(" The default configuration will be used" )
32
+ firstLaunch = true
31
33
}
32
34
}
33
35
You can’t perform that action at this time.
0 commit comments