Skip to content

Commit

Permalink
Fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Oct 12, 2024
1 parent 39274f3 commit 1aff1a3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jarSets {
dependencies {
modCompileOnly("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")

modCompileOnly("maven.modrinth:embeddium:${property("embeddium_version")}")
modCompileOnly(":sodium-fabric-1.20.1-0.6.0-intermediary-mappings")

testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
},
"breaks": {
"sodium": ["<0.5.0", "~0.6.0- <0.6.0-beta.2"],
"embeddium": "<0.3.25"
"embeddium": "*"
}
}
2 changes: 1 addition & 1 deletion forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ loom {
dependencies {
forge("net.minecraftforge:forge:${property("minecraft_version")}-${property("forge_version")}")


modCompileOnly("maven.modrinth:embeddium:${property("embeddium_version")}")
modCompileOnly("maven.modrinth:oculus:${property("oculus_version")}")

"forApi"(project(path = ":common", configuration = "commonApiOnly"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package dev.engine_room.flywheel.impl;

import dev.engine_room.flywheel.impl.compat.CompatMods;
import dev.engine_room.flywheel.impl.compat.EmbeddiumCompat;
import org.apache.maven.artifact.versioning.ArtifactVersion;
import org.jetbrains.annotations.UnknownNullability;

Expand Down Expand Up @@ -63,6 +65,9 @@ private static void clientInit(IEventBus forgeEventBus, IEventBus modEventBus) {

CrashReportCallables.registerCrashCallable("Flywheel Backend", BackendManagerImpl::getBackendString);
FlwImpl.init();

if (CompatMods.EMBEDDIUM.isLoaded())
EmbeddiumCompat.init();
}

private static void registerImplEventListeners(IEventBus forgeEventBus, IEventBus modEventBus) {
Expand Down

0 comments on commit 1aff1a3

Please sign in to comment.