diff options
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/tracker')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerFileLoader.java | 6 | ||||
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerHandler.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerFileLoader.java b/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerFileLoader.java index 7401dd8c1..47764a543 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerFileLoader.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerFileLoader.java @@ -1,7 +1,7 @@ package com.thatgravyboat.skyblockhud.tracker; import com.google.gson.*; -import com.thatgravyboat.skyblockhud.SkyblockHud; +import com.thatgravyboat.skyblockhud.LorenzMod; import com.thatgravyboat.skyblockhud.location.Locations; import java.io.*; import java.nio.charset.StandardCharsets; @@ -83,7 +83,7 @@ public class TrackerFileLoader { } public static boolean loadTrackerStatsFile() { - File configFile = new File(SkyblockHud.configDirectory, "sbh-trackers-stats.json"); + File configFile = new File(LorenzMod.configDirectory, "sbh-trackers-stats.json"); try { if (configFile.createNewFile()) { @@ -121,7 +121,7 @@ public class TrackerFileLoader { } public static void saveTrackerStatsFile() { - File configFile = new File(SkyblockHud.configDirectory, "sbh-trackers-stats.json"); + File configFile = new File(LorenzMod.configDirectory, "sbh-trackers-stats.json"); try { configFile.createNewFile(); diff --git a/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerHandler.java index dc7ec1f63..d89ea1817 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerHandler.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/tracker/TrackerHandler.java @@ -1,6 +1,6 @@ package com.thatgravyboat.skyblockhud.tracker; -import com.thatgravyboat.skyblockhud.SkyblockHud; +import com.thatgravyboat.skyblockhud.LorenzMod; import com.thatgravyboat.skyblockhud.api.events.SkyBlockEntityKilled; import com.thatgravyboat.skyblockhud.location.LocationHandler; import com.thatgravyboat.skyblockhud.location.Locations; @@ -31,7 +31,7 @@ public class TrackerHandler extends Gui { } public static void onItemAdded(String id, int amount, String specialId, int number) { - if (SkyblockHud.hasSkyblockScoreboard() && trackers.containsKey(LocationHandler.getCurrentLocation())) { + if (LorenzMod.hasSkyblockScoreboard() && trackers.containsKey(LocationHandler.getCurrentLocation())) { Map<String, TrackerObject> trackerMap = trackers.get(LocationHandler.getCurrentLocation()); String dropId = id; if (specialId != null) { @@ -58,7 +58,7 @@ public class TrackerHandler extends Gui { @SubscribeEvent public void onSbEntityDeath(SkyBlockEntityKilled event) { - if (SkyblockHud.hasSkyblockScoreboard() && trackers.containsKey(LocationHandler.getCurrentLocation())) { + if (LorenzMod.hasSkyblockScoreboard() && trackers.containsKey(LocationHandler.getCurrentLocation())) { Map<String, TrackerObject> trackerMap = trackers.get(LocationHandler.getCurrentLocation()); if (trackerMap.containsKey("ENTITY:" + event.id)) { TrackerObject object = trackerMap.get("ENTITY:" + event.id); |