Skip to content

Commit

Permalink
fix the init
Browse files Browse the repository at this point in the history
  • Loading branch information
olim88 committed Sep 4, 2024
1 parent 0b872cd commit b452f7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/de/hysky/skyblocker/skyblock/SmoothAOTE.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package de.hysky.skyblocker.skyblock;

import de.hysky.skyblocker.SkyblockerMod;
import de.hysky.skyblocker.annotations.Init;
import de.hysky.skyblocker.config.SkyblockerConfigManager;
import de.hysky.skyblocker.skyblock.dungeon.DungeonBoss;
import de.hysky.skyblocker.skyblock.dungeon.secrets.DungeonManager;
Expand Down Expand Up @@ -41,6 +42,7 @@ public class SmoothAOTE {
private static long lastTeleportTime;
private static boolean teleportDisabled;

@Init
public static void init() {
UseItemCallback.EVENT.register(SmoothAOTE::onItemInteract);
UseBlockCallback.EVENT.register(SmoothAOTE::onBlockInteract);
Expand Down

0 comments on commit b452f7a

Please sign in to comment.