aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/io
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-26 22:59:23 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-26 22:59:27 +0200
commitab584ed95a0b1d81b70f29d803157e987e7d2f51 (patch)
treed9d85f45f4487a1d532db827e83c1683d7e58028 /src/main/kotlin/io
parent3ddc6ca8eca455d2e1c726b3de81656a7fec791b (diff)
downloadNotEnoughUpdates-fix/tablistcooldown.tar.gz
NotEnoughUpdates-fix/tablistcooldown.tar.bz2
NotEnoughUpdates-fix/tablistcooldown.zip
Display version id in /neustatsfix/tablistcooldown
Diffstat (limited to 'src/main/kotlin/io')
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt1
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt4
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)
}