mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-19 16:28:13 +01:00
Add sanity check for implementation version
This commit is contained in:
parent
49daeb33c0
commit
48a69f1411
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user