Skip to content

Commit

Permalink
Fixed code not runing the hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
LudoCrypt committed Jun 8, 2023
1 parent f943fae commit 5de9191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.jvmargs = -Xmx1G
org.gradle.parallel = true

version = 8.0.0
version = 8.1.0
maven_group = net.ludocrypt
archives_base_name = limlib
3 changes: 3 additions & 0 deletions src/main/java/net/ludocrypt/limlib/impl/Limlib.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package net.ludocrypt.limlib.impl;

import org.quiltmc.loader.api.ModContainer;
import org.quiltmc.loader.api.QuiltLoader;
import org.quiltmc.qsl.base.api.entrypoint.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import net.ludocrypt.limlib.api.LimlibRegistrar;
import net.ludocrypt.limlib.api.LimlibWorld;
import net.ludocrypt.limlib.api.effects.post.EmptyPostEffect;
import net.ludocrypt.limlib.api.effects.post.PostEffect;
Expand Down Expand Up @@ -33,5 +35,6 @@ public void onInitialize(ModContainer mod) {

Registry.register(PostEffect.POST_EFFECT_CODEC, new Identifier("limlib", "static"), StaticPostEffect.CODEC);
Registry.register(PostEffect.POST_EFFECT_CODEC, new Identifier("limlib", "empty"), EmptyPostEffect.CODEC);
QuiltLoader.getEntrypoints(LimlibRegistrar.ENTRYPOINT_KEY, LimlibRegistrar.class).forEach(LimlibRegistrar::registerHooks);
}
}

0 comments on commit 5de9191

Please sign in to comment.