aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/DankersSkyblockMod.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-08-09 20:24:18 -0400
committerbowser0000 <bowser0000@gmail.com>2022-08-09 20:24:18 -0400
commitf56302bee3939677fc3fd015a97b12b5100c45b1 (patch)
treef1c927068d70ff015d98a0b882d33e70d2f3df8a /src/main/java/me/Danker/DankersSkyblockMod.java
parent60d3517fc1f70aeeb83dd6627ade3093f7760b04 (diff)
downloadSkyblockMod-f56302bee3939677fc3fd015a97b12b5100c45b1.tar.gz
SkyblockMod-f56302bee3939677fc3fd015a97b12b5100c45b1.tar.bz2
SkyblockMod-f56302bee3939677fc3fd015a97b12b5100c45b1.zip
Fix issues with custom music volume
Fix custom music set to 50% volume on first load (ignoring config) Fix island music using hub volume
Diffstat (limited to 'src/main/java/me/Danker/DankersSkyblockMod.java')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 6322c33..280fc96 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -2,10 +2,7 @@ package me.Danker;
import com.google.gson.JsonObject;
import me.Danker.commands.*;
-import me.Danker.events.ChestSlotClickedEvent;
-import me.Danker.events.GuiChestBackgroundDrawnEvent;
-import me.Danker.events.ModInitEvent;
-import me.Danker.events.RenderOverlayEvent;
+import me.Danker.events.*;
import me.Danker.features.*;
import me.Danker.features.loot.*;
import me.Danker.features.puzzlesolvers.*;
@@ -181,9 +178,10 @@ public class DankersSkyblockMod {
MinecraftForge.EVENT_BUS.register(new TrophyFishTracker());
MinecraftForge.EVENT_BUS.register(new WolfTracker());
MinecraftForge.EVENT_BUS.register(new ZombieTracker());
-
+
MinecraftForge.EVENT_BUS.post(new ModInitEvent(configDirectory));
ConfigHandler.reloadConfig();
+ MinecraftForge.EVENT_BUS.post(new PostConfigInitEvent(configDirectory));
keyBindings[0] = new KeyBinding("Open Maddox Menu", Keyboard.KEY_M, "Danker's Skyblock Mod");
keyBindings[1] = new KeyBinding("Regular Ability", Keyboard.KEY_NUMPAD4, "Danker's Skyblock Mod");