aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
diff options
context:
space:
mode:
authorThatGravyBoat <ThatGravyBoat@users.noreply.github.com>2021-07-15 04:07:36 +0000
committerGitHub Action <actions@github.com>2021-07-15 04:07:36 +0000
commit4e4058da31c3575b69c69d2d7bb3c9af29e248dc (patch)
treed46d48754f080386e23bb86e884580fed0f555f3 /src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
parent718740e85f48b57bf712a62f811cd4d34dd98450 (diff)
downloadSkyblockHud-Death-Defied-4e4058da31c3575b69c69d2d7bb3c9af29e248dc.tar.gz
SkyblockHud-Death-Defied-4e4058da31c3575b69c69d2d7bb3c9af29e248dc.tar.bz2
SkyblockHud-Death-Defied-4e4058da31c3575b69c69d2d7bb3c9af29e248dc.zip
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java b/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
index 1cb00bb..7e1f215 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/SkyblockHud.java
@@ -129,21 +129,19 @@ public class SkyblockHud {
// DISABLE UNTIL NEW SYSTEM
@EventHandler
- public void loadComplete(FMLLoadCompleteEvent event){
+ public void loadComplete(FMLLoadCompleteEvent event) {
TrackerFileLoader.loadTrackersFile();
- if (TrackerFileLoader.loadTrackerStatsFile(configDirectory)){
+ if (TrackerFileLoader.loadTrackerStatsFile(configDirectory)) {
TrackerFileLoader.saveTrackerStatsFile(configDirectory);
}
}
@SubscribeEvent
- public void onLeaveServer(FMLNetworkEvent.ClientDisconnectionFromServerEvent event){
+ public void onLeaveServer(FMLNetworkEvent.ClientDisconnectionFromServerEvent event) {
TrackerFileLoader.saveTrackerStatsFile(configDirectory);
}
-
-
public static boolean hasSkyblockScoreboard() {
Minecraft mc = Minecraft.getMinecraft();