File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
proxy/src/main/java/com/velocitypowered/proxy Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,9 @@ public VelocityConfiguration getConfiguration() {
183183
184184 @ Override
185185 public ProxyVersion getVersion () {
186+ // TODO: this can likely also be changed to ServerBuildInfo
186187 Package pkg = VelocityServer .class .getPackage ();
188+ final ServerBuildInfo buildInfo = ServerBuildInfo .buildInfo ();
187189 String implName ;
188190 String implVersion ;
189191 String implVendor ;
@@ -197,7 +199,7 @@ public ProxyVersion getVersion() {
197199 implVendor = "Velocity Contributors" ;
198200 }
199201
200- return new ProxyVersion (implName , implVendor , implVersion );
202+ return new ProxyVersion (buildInfo . brandName () , implVendor , implVersion );
201203 }
202204
203205 @ Override
You can’t perform that action at this time.
0 commit comments