Skip to content

Commit

Permalink
paper -> velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
powercasgamer committed May 29, 2024
1 parent 495db16 commit bd0e44f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions proxy/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCacheFileTransformer
import net.kyori.indra.git.IndraGitExtension
import java.time.Instant

plugins {
application
Expand All @@ -15,10 +13,9 @@ application {

tasks {
runShadow {
systemProperty("terminal.jline", false)
systemProperty("terminal.ansi", true)
workingDir = project.file("run").also(File::mkdirs)
}

withType<Checkstyle> {
exclude("**/com/velocitypowered/proxy/protocol/packet/**")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public record ServerBuildInfoImpl(
private static final String ATTRIBUTE_GIT_COMMIT = "Git-Commit";
private static final String ATTRIBUTE_VERSION = "Implementation-Version";

private static final String BRAND_PAPER_NAME = "Velocity";
private static final String BRAND_VELOCITY_NAME = "Velocity";

private static final String BUILD_DEV = "DEV";

Expand All @@ -65,7 +65,7 @@ private ServerBuildInfoImpl(final Manifest manifest) {
.map(Key::key)
.orElse(BRAND_VELOCITY_ID),
getManifestAttribute(manifest, ATTRIBUTE_BRAND_NAME)
.orElse(BRAND_PAPER_NAME),
.orElse(BRAND_VELOCITY_NAME),
getManifestAttribute(manifest, ATTRIBUTE_VERSION)
.orElse("Unknown"),
getManifestAttribute(manifest, ATTRIBUTE_BUILD_NUMBER)
Expand Down

0 comments on commit bd0e44f

Please sign in to comment.