diff --git a/gradle.properties b/gradle.properties index f42e55f..bbadf88 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,7 @@ loader_version=0.15.0 fabric_version=0.91.1+1.20.4 # Mod Properties -mod_version=0.1 +mod_version=0.2 maven_group=com.replaymod archives_base_name=replaymod # Dependencies diff --git a/src/main/java/com/replaymod/core/ReplayModBackend.java b/src/main/java/com/replaymod/core/ReplayModBackend.java index 03c2db5..1094dcf 100644 --- a/src/main/java/com/replaymod/core/ReplayModBackend.java +++ b/src/main/java/com/replaymod/core/ReplayModBackend.java @@ -16,7 +16,7 @@ public class ReplayModBackend { private final ReplayMod mod = new ReplayMod(this); @SubscribeEvent - public static void construct(FMLClientSetupEvent event) { + public static void construct(FMLConstructModEvent event) { ReplayMod.instance.initModules(); } diff --git a/src/main/java/com/replaymod/render/rendering/VideoRenderer.java b/src/main/java/com/replaymod/render/rendering/VideoRenderer.java index eab6470..7a2cb34 100644 --- a/src/main/java/com/replaymod/render/rendering/VideoRenderer.java +++ b/src/main/java/com/replaymod/render/rendering/VideoRenderer.java @@ -666,13 +666,13 @@ public static String[] checkCompat(Stream settings) { public static String[] checkCompat(RenderSettings settings) { //#if FABRIC>=1 - if (LoadingModList.get().getModFileById("embeddium") != null && !FlawlessFrames.hasSodium()) { - return new String[] { - "Rendering is not supported with your Sodium version.", - "It is missing support for the FREX Flawless Frames API.", - "Either use the Sodium build from replaymod.com or uninstall Sodium before rendering!", - }; - } +// if (LoadingModList.get().getModFileById("embeddium") != null && !FlawlessFrames.hasSodium()) { +// return new String[] { +// "Rendering is not supported with your Sodium version.", +// "It is missing support for the FREX Flawless Frames API.", +// "Either use the Sodium build from replaymod.com or uninstall Sodium before rendering!", +// }; +// } //#if MC>=11700 if (settings.getRenderMethod() == RenderSettings.RenderMethod.ODS && LoadingModList.get().getModFileById("oculus") == null) { diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index f2f3bc2..52800f7 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -5,6 +5,7 @@ license="GPL-3.0-or-later" modId="reforgedplaymod" version="${version}" displayName="ReForgedPlay Mod" +logoFile="logo.png" displayTest = "IGNORE_SERVER_VERSION" authors="CrushedPixel, johni0702, Ferri_Arnus" description=''' @@ -57,7 +58,7 @@ config = "mixins.replay.replaymod.json" [[mods]] modId="replaymod" -version="${version}" +version="2.6.18" displayName="Replay Mod" license="GPL-3.0-or-later" displayTest = "IGNORE_SERVER_VERSION" diff --git a/src/main/resources/logo.png b/src/main/resources/logo.png new file mode 100644 index 0000000..520cf20 Binary files /dev/null and b/src/main/resources/logo.png differ