3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-09-07 13:22:54 +02:00

Add sanity check for implementation version

Dieser Commit ist enthalten in:
KennyTV 2020-04-24 11:45:54 +02:00
Ursprung 49daeb33c0
Commit 48a69f1411
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B

Datei anzeigen

@ -55,7 +55,8 @@ public interface ViaBackwardsPlatform {
if (isOutdated()) return;
Via.getManager().getSubPlatforms().add(ViaBackwards.class.getPackage().getImplementationVersion());
String version = ViaBackwards.class.getPackage().getImplementationVersion();
Via.getManager().getSubPlatforms().add(version != null ? version : "UNKNOWN");
getLogger().info("Loading translations...");
TranslatableRewriter.loadTranslatables();