Skip to content

Commit

Permalink
Fix version type incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrix-Shen committed Jun 3, 2022
1 parent d941a24 commit f2bd91e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package top.hendrixshen.bilibilidanmaku;

import net.fabricmc.loader.api.FabricLoader;
import top.hendrixshen.bilibilidanmaku.util.VersionParser;

public class BilibiliDanmakuReference {
private static final String MOD_ID = "bilibili-danmaku";
private static final String MOD_NAME = "Bilibili Danmaku";
private static final String MOD_VERSION = FabricLoader.getInstance().getModContainer(MOD_ID).orElseThrow(RuntimeException::new).getMetadata().getVersion().getFriendlyString();
private static final String MOD_VERSION_TYPE = "Development";
private static final String MOD_VERSION_TYPE = VersionParser.getVersionType(MOD_VERSION);

private static final int CONFIG_VERSION = 1;

Expand Down

0 comments on commit f2bd91e

Please sign in to comment.