Skip to content

Commit 7612686

Browse files
committed
Don't show git version string twice
1 parent d800f73 commit 7612686

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ sourceSets {
8989
blossom {
9090
val info = GitInfo()
9191
javaSources {
92-
property("version", "${info.version} (${info.gitVersion})")
92+
property("version", info.version)
9393
property("gitVersion", info.gitVersion)
9494
property("buildNumber", info.buildNumber.toString())
9595
property("branch", info.branch)
@@ -156,4 +156,4 @@ tasks.register<DownloadFilesTask>("downloadBedrockData") {
156156
suffixedFiles = listOf("block_palette.nbt", "creative_items.json", "runtime_item_states.json")
157157

158158
destinationDir = "$projectDir/src/main/resources/bedrock"
159-
}
159+
}

core/src/main/java/org/geysermc/geyser/GeyserImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ public void reloadGeyser() {
694694
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
695695
public boolean isProductionEnvironment() {
696696
// First is if Blossom runs, second is if Blossom doesn't run
697-
//noinspection ConstantConditions,MismatchedStringCase - changes in production
697+
//noinspection ConstantConditions - changes in production
698698
return !("git-local/dev-0000000".equals(GeyserImpl.GIT_VERSION) || "${gitVersion}".equals(GeyserImpl.GIT_VERSION));
699699
}
700700

0 commit comments

Comments
 (0)