(FMLPreInitializationEvent aEvent)
| 228 | } |
| 229 | |
| 230 | @Mod.EventHandler |
| 231 | public void onPreLoad(FMLPreInitializationEvent aEvent) { |
| 232 | DirectoriesGT.CONFIG = aEvent.getModConfigurationDirectory(); |
| 233 | |
| 234 | DirectoriesGT.CONFIG_GT = new File(DirectoriesGT.CONFIG, "GregTech"); |
| 235 | if (!DirectoriesGT.CONFIG_GT.exists()) DirectoriesGT.CONFIG_GT = new File(DirectoriesGT.CONFIG, "gregtech"); |
| 236 | |
| 237 | DirectoriesGT.CONFIG_RECIPES = new File(DirectoriesGT.CONFIG, "Recipes"); |
| 238 | if (!DirectoriesGT.CONFIG_RECIPES.exists()) DirectoriesGT.CONFIG_RECIPES = new File(DirectoriesGT.CONFIG, "recipes"); |
| 239 | |
| 240 | DirectoriesGT.MINECRAFT = DirectoriesGT.CONFIG.getParentFile(); |
| 241 | |
| 242 | DirectoriesGT.LOGS = new File(DirectoriesGT.MINECRAFT, "logs"); |
| 243 | |
| 244 | onModPreInit(aEvent); |
| 245 | } |
| 246 | |
| 247 | @Mod.EventHandler |
| 248 | public void onLoad(FMLInitializationEvent aEvent) { |
nothing calls this directly
no test coverage detected