diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-26 22:59:23 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-26 23:00:10 +0200 |
commit | 87f173b278361327c19e8d3f756bee737d3a039e (patch) | |
tree | e06da529a4a7bb96d6122cbb9584c695a12a26eb | |
parent | ef1c666e378bafe5d3dd0d499fb4a1befb208fc0 (diff) | |
download | NotEnoughUpdates-feat/versionidstats.tar.gz NotEnoughUpdates-feat/versionidstats.tar.bz2 NotEnoughUpdates-feat/versionidstats.zip |
Display version id in /neustatsfeat/versionidstats
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt index b142ccc1..15c26daa 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt @@ -43,7 +43,6 @@ import net.minecraft.util.EnumParticleTypes import net.minecraftforge.common.MinecraftForge import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import java.util.function.Predicate -import kotlin.io.path.absolutePathString import kotlin.math.floor @NEUAutoSubscribe diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt index 9e9cca14..85a14e15 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt @@ -176,6 +176,10 @@ class NEUStatsCommand { "Mod Version", Loader.instance().indexedModList[NotEnoughUpdates.MODID]!!.displayVersion ) + builder.append( + "Version Id", + NotEnoughUpdates.VERSION_ID + ) builder.append("SB Profile", SBInfo.getInstance().currentProfile) .also(::appendRepoStats) } |