File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/main/java/com/falsepattern/lib Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11package com .falsepattern .lib .config ;
22
33import com .falsepattern .lib .StableAPI ;
4+ import com .falsepattern .lib .internal .CoreLoadingPlugin ;
45import cpw .mods .fml .client .event .ConfigChangedEvent ;
56import cpw .mods .fml .common .eventhandler .SubscribeEvent ;
67import lombok .AccessLevel ;
@@ -45,7 +46,7 @@ public static void registerConfig(Class<?> config) throws IllegalAccessException
4546 */
4647 public static void init () {
4748 if (initialized ) return ;
48- configDir = Launch . minecraftHome .toPath ().resolve ("config" );
49+ configDir = CoreLoadingPlugin . mcDir .toPath ().resolve ("config" );
4950 MinecraftForge .EVENT_BUS .register (instance );
5051 initialized = true ;
5152 }
Original file line number Diff line number Diff line change 11package com .falsepattern .lib .mixin ;
22
3+ import com .falsepattern .lib .internal .CoreLoadingPlugin ;
34import lombok .val ;
45import net .minecraft .launchwrapper .Launch ;
56import org .apache .logging .log4j .LogManager ;
2122import static java .nio .file .Files .walk ;
2223
2324public interface IMixinPlugin extends IMixinConfigPlugin {
24- Path MODS_DIRECTORY_PATH = new File ( Launch . minecraftHome , "mods/" ). toPath ( );
25+ Path MODS_DIRECTORY_PATH = CoreLoadingPlugin . mcDir . toPath (). resolve ( "mods" );
2526
2627 Logger getLogger ();
2728 ITargetedMod [] getTargetedModEnumValues ();
You can’t perform that action at this time.
0 commit comments