Added VersionInfo#getVersion to bypass Java inlining (#3344)

This commit is contained in:
EnZaXD 2023-06-09 08:52:30 +02:00 committed by GitHub
parent 7f347231bb
commit 28ba4afc27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,4 +32,8 @@ public final class VersionInfo {
* @see ViaPlatform#getPluginVersion()
*/
public static final String VERSION = "$VERSION";
public static String getVersion() {
return VERSION;
}
}