code tidy
This commit is contained in:
parent
70349d86a7
commit
3ebc8997d2
2 changed files with 1 additions and 3 deletions
|
|
@ -24,8 +24,7 @@ val distributionZipName: String by extra("${modName}_${project.version}.zip")
|
||||||
// version of Factorio that the mod is compatible with (must only be "major.minor" - patch causes error)
|
// version of Factorio that the mod is compatible with (must only be "major.minor" - patch causes error)
|
||||||
val modFactorioCompatibility: String by extra(
|
val modFactorioCompatibility: String by extra(
|
||||||
libs.versions.factorio
|
libs.versions.factorio
|
||||||
.map { SemVer.parse(it) }
|
.map { SemVer.parse(it).run { "$major.$minor" } }
|
||||||
.map { it.run { "$major.$minor" } }
|
|
||||||
.get()
|
.get()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,6 @@ data class MapTilePrototype(
|
||||||
val name: PrototypeName,
|
val name: PrototypeName,
|
||||||
val layer: UInt,
|
val layer: UInt,
|
||||||
val mapColour: Colour,
|
val mapColour: Colour,
|
||||||
// @Serializable(with = FactorioJsonListSerializer::class)
|
|
||||||
@Contextual
|
@Contextual
|
||||||
val collisionMasks: List<String>,
|
val collisionMasks: List<String>,
|
||||||
val order: String,
|
val order: String,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue