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:
@@ -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
|
||||
|
Reference in New Issue
Block a user