1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-19 18:44:33 +02:00

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
parent f63992e209
commit e5be06e07b

View File

@@ -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