diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-14 13:08:14 -0500 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-14 13:08:14 -0500 |
commit | 27aa4095270f943ddab2a4e4d370e225766c7ff7 (patch) | |
tree | f1d71fe46072cfab38ad833be96600bd26c04cb7 /src/main/kotlin/cc/woverflow/chatting/Chatting.kt | |
parent | 3470ee81c4444c5955f7899acce226dae14a3da4 (diff) | |
download | Chatting-27aa4095270f943ddab2a4e4d370e225766c7ff7.tar.gz Chatting-27aa4095270f943ddab2a4e4d370e225766c7ff7.tar.bz2 Chatting-27aa4095270f943ddab2a4e4d370e225766c7ff7.zip |
change directory of chat tabs and shortcuts
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/Chatting.kt')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/Chatting.kt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt index d74dd6a..27f1a87 100644 --- a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt +++ b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt @@ -67,12 +67,7 @@ object Chatting { private val fileFormatter: SimpleDateFormat = SimpleDateFormat("yyyy-MM-dd_HH.mm.ss'.png'") - val modDir = File(File(Minecraft.getMinecraft().mcDataDir, "W-OVERFLOW"), NAME) - - @Mod.EventHandler - fun onFMLPreInitialization(event: FMLPreInitializationEvent) { - if (!modDir.exists()) modDir.mkdirs() - } + val oldModDir = File(File(Minecraft.getMinecraft().mcDataDir, "W-OVERFLOW"), NAME) @Mod.EventHandler fun onInitialization(event: FMLInitializationEvent) { |