mirror of
https://gitlab.com/cable-mc/cobblemon.git
synced 2026-10-27 20:46:27 -04:00
Change default run configs to generate with a uuid and username
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import gradle.kotlin.dsl.accessors._56d0f1caa5d9b078747b452e7c6e7f8d.shadowJar
|
||||
import net.fabricmc.loom.util.srg.CoreModClassRemapper.remapJar
|
||||
|
||||
plugins {
|
||||
id("cobblemon.base-conventions")
|
||||
id("com.github.johnrengelman.shadow")
|
||||
@@ -9,8 +12,13 @@ val bundle: Configuration by configurations.creating {
|
||||
}
|
||||
|
||||
loom {
|
||||
runConfigs.getByName("client").runDir = "runClient"
|
||||
runConfigs.getByName("server").runDir = "runServer"
|
||||
val clientConfig = runConfigs.getByName("client")
|
||||
clientConfig.runDir = "runClient"
|
||||
clientConfig.programArg("--username=CobblemonDev")
|
||||
//This is AshKetchum's UUID so you get an Ash Ketchum skin
|
||||
clientConfig.programArg("--uuid=93e4e551-589a-41cb-ab2d-435266c8e035")
|
||||
val serverConfig = runConfigs.getByName("server")
|
||||
serverConfig.runDir = "runServer"
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
Reference in New Issue
Block a user