We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9f323 commit 45146b9Copy full SHA for 45146b9
proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java
@@ -183,7 +183,9 @@ public VelocityConfiguration getConfiguration() {
183
184
@Override
185
public ProxyVersion getVersion() {
186
+ // TODO: this can likely also be changed to ServerBuildInfo
187
Package pkg = VelocityServer.class.getPackage();
188
+ final ServerBuildInfo buildInfo = ServerBuildInfo.buildInfo();
189
String implName;
190
String implVersion;
191
String implVendor;
@@ -197,7 +199,7 @@ public ProxyVersion getVersion() {
197
199
implVendor = "Velocity Contributors";
198
200
}
201
- return new ProxyVersion(implName, implVendor, implVersion);
202
+ return new ProxyVersion(buildInfo.brandName(), implVendor, implVersion);
203
204
205
0 commit comments