mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 21:29:47 +01:00
Use the newly added API method to retrieve Velocity implementation name / version
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user