Fixed YAML interpreting plugin version as Number

This commit is contained in:
RaphiMC 2023-06-07 22:47:49 +02:00
parent 87a1392cd9
commit 0172a3d870
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -43,7 +43,7 @@ public abstract class ViaProxyPlugin {
}
public final String getVersion() {
return (String) this.viaProxyYaml.get("version");
return String.valueOf(this.viaProxyYaml.get("version"));
}
}