Skip to content

Commit

Permalink
update 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Aug 14, 2024
1 parent 12bdaa5 commit b4b9b7f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/replaymod/core/ReplayModBackend.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
14 changes: 7 additions & 7 deletions src/main/java/com/replaymod/render/rendering/VideoRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -666,13 +666,13 @@ public static String[] checkCompat(Stream<RenderSettings> 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) {
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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='''
Expand Down Expand Up @@ -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"
Expand Down
Binary file added src/main/resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b4b9b7f

Please sign in to comment.