aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-03-29 17:10:01 +0200
committernea <nea@nea.moe>2023-03-29 17:10:01 +0200
commited2dfa0bfd7a6d69a2eb7349009625991e363fee (patch)
treee103dbfb8fbe0ad9c547c57d855a2ad60ca9d1df /src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
parent3948531e6098fdb44082312ffb461536f4c522f9 (diff)
downloadskyhanni-ed2dfa0bfd7a6d69a2eb7349009625991e363fee.tar.gz
skyhanni-ed2dfa0bfd7a6d69a2eb7349009625991e363fee.tar.bz2
skyhanni-ed2dfa0bfd7a6d69a2eb7349009625991e363fee.zip
config backups and better property adapter
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
index f3909ebce..782ae6d4a 100644
--- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
+++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.java
@@ -84,6 +84,9 @@ public class SkyHanniMod {
public static RepoManager repo;
public static ConfigManager configManager;
private static Logger logger;
+ public static org.slf4j.Logger getLogger(String name) {
+ return org.slf4j.LoggerFactory.getLogger("SkyHanni." + name);
+ }
public static List<Object> modules = new ArrayList<>();
public static Job globalJob = JobKt.Job(null);
@@ -241,7 +244,6 @@ public class SkyHanniMod {
configManager = new ConfigManager();
configManager.firstLoad();
- new FirstConfigLoadedEvent().postAndCatch();
MinecraftConsoleFilter.Companion.initLogging();