diff options
author | bowser0000 <bowser0000@gmail.com> | 2022-08-05 00:30:35 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2022-08-05 00:30:35 -0400 |
commit | abd656382da708b8cd77df1f4f0a74f2287618c5 (patch) | |
tree | 132a58ec3dc307e171ae7a90bb05bfa235d914cf /src/main/java/me/Danker/features/GoldenEnchants.java | |
parent | b3eb1191c49eee416b71859ee8303293e9aed72b (diff) | |
download | SkyblockMod-abd656382da708b8cd77df1f4f0a74f2287618c5.tar.gz SkyblockMod-abd656382da708b8cd77df1f4f0a74f2287618c5.tar.bz2 SkyblockMod-abd656382da708b8cd77df1f4f0a74f2287618c5.zip |
Add trophy fishing tracker
Also update trivia answers and add mod init event
Diffstat (limited to 'src/main/java/me/Danker/features/GoldenEnchants.java')
-rw-r--r-- | src/main/java/me/Danker/features/GoldenEnchants.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/GoldenEnchants.java b/src/main/java/me/Danker/features/GoldenEnchants.java index d633ec5..228d43e 100644 --- a/src/main/java/me/Danker/features/GoldenEnchants.java +++ b/src/main/java/me/Danker/features/GoldenEnchants.java @@ -1,6 +1,7 @@ package me.Danker.features; import me.Danker.commands.ToggleCommand; +import me.Danker.events.ModInitEvent; import me.Danker.utils.Utils; import net.minecraftforge.event.entity.player.ItemTooltipEvent; import net.minecraftforge.fml.common.eventhandler.EventPriority; @@ -15,7 +16,8 @@ public class GoldenEnchants { public static Map<String, String> t6Enchants = new HashMap<>(); public static Pattern t6EnchantPattern = Pattern.compile(""); - public static void init() { + @SubscribeEvent + public void init(ModInitEvent event) { t6Enchants.put("9Angler VI", "6Angler VI"); t6Enchants.put("9Bane of Arthropods VI", "6Bane of Arthropods VI"); t6Enchants.put("9Caster VI", "6Caster VI"); |