Use the newly added API method to retrieve Velocity implementation name / version

This commit is contained in:
Luck
2018-11-06 13:18:58 +00:00
Unverified
parent f63992e209
commit e5be06e07b
@@ -185,12 +185,12 @@ public class LPVelocityBootstrap implements LuckPermsBootstrap {
@Override
public String getServerBrand() {
return "Velocity";
return this.proxy.getVersion().getName();
}
@Override
public String getServerVersion() {
return ProxyServer.class.getPackage().getImplementationVersion();
return this.proxy.getVersion().getVersion();
}
@Override