Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Mar 26, 2023
1 parent 4e0348f commit c1f9a4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ public class ConditionalMixinMod {

public ConditionalMixinMod() {
IEventBus MOD_BUS = FMLJavaModLoadingContext.get().getModEventBus();

MOD_BUS.addListener(this::onInitialize);

MinecraftForge.EVENT_BUS.register(this);
}

public void onInitialize(final FMLCommonSetupEvent event) {

}
}
11 changes: 2 additions & 9 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ loaderVersion = "[25,)"
license = "LGPLv3"

[[mods]]
modId = "memoryleakfix"
modId = "conditional_mixin"
version = "${version}"
displayName = "Conditional Mixin"
displayURL="https://github.com/TexTrueStudio/ConditionalMixin" #optional
Expand All @@ -12,11 +12,4 @@ credits="Fallen_Breath" #optional
authors="TexTrue, ThinkingStudio" #optional
description = '''
Use annotation to conditionally apply your mixins
'''

[[dependencies.memoryleakfix]]
modId = "forge"
mandatory = true
versionRange = "[25,)"
ordering = "NONE"
side = "BOTH"
'''

0 comments on commit c1f9a4b

Please sign in to comment.