Skip to content

Commit

Permalink
fix keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Jul 10, 2024
1 parent c6e2f6d commit f1f5881
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

loom {
mixin.defaultRefmapName = "mixins.replaymod.refmap.json"
forge {
mixinConfigs = [
"mixins.compat.mapwriter.replaymod.json",
Expand All @@ -25,9 +24,6 @@ loom {
"mixins.replay.replaymod.json"
]
}
mixin {
useLegacyMixinAp = false
}
runs {
it.configureEach {
vmArgs("-Xmx8G", "-XX:+UseZGC")
Expand Down Expand Up @@ -121,6 +117,6 @@ dependencies {

testImplementation 'junit:junit:4.11'

compileOnly(annotationProcessor("io.github.llamalad7:mixinextras-common:0.3.5"))
implementation(include("io.github.llamalad7:mixinextras-forge:0.3.5"))
compileOnly(annotationProcessor("io.github.llamalad7:mixinextras-common:0.3.6"))
implementation(include("io.github.llamalad7:mixinextras-forge:0.3.6"))
}
3 changes: 2 additions & 1 deletion src/main/java/com/replaymod/core/ReplayModBackend.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.fml.event.lifecycle.FMLConstructModEvent;
import net.minecraftforge.fml.loading.LoadingModList;

import static com.replaymod.core.ReplayMod.MOD_ID;
Expand All @@ -15,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

0 comments on commit f1f5881

Please sign in to comment.