Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Use the correct platform name and version for Sponge
Dieser Commit ist enthalten in:
Ursprung
10a2df5a7d
Commit
9937a173d1
@ -87,12 +87,12 @@ public class SpongePlugin implements ViaPlatform {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPlatformName() {
|
public String getPlatformName() {
|
||||||
return game.getPlatform().getApi().getName();
|
return game.getPlatform().getImplementation().getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPlatformVersion() {
|
public String getPlatformVersion() {
|
||||||
return game.getPlatform().getApi().getId();
|
return game.getPlatform().getImplementation().getVersion().orElse("Unknown Version");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren