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)
|
||||
val modFactorioCompatibility: String by extra(
|
||||
libs.versions.factorio
|
||||
.map { SemVer.parse(it) }
|
||||
.map { it.run { "$major.$minor" } }
|
||||
.map { SemVer.parse(it).run { "$major.$minor" } }
|
||||
.get()
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@ data class MapTilePrototype(
|
|||
val name: PrototypeName,
|
||||
val layer: UInt,
|
||||
val mapColour: Colour,
|
||||
// @Serializable(with = FactorioJsonListSerializer::class)
|
||||
@Contextual
|
||||
val collisionMasks: List<String>,
|
||||
val order: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue