File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
src/main/java/com/falsepattern/lib/internal Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
package com .falsepattern .lib .internal ;
2
2
3
+ import com .falsepattern .lib .config .ConfigurationManager ;
3
4
import cpw .mods .fml .relauncher .IFMLLoadingPlugin ;
4
5
import cpw .mods .fml .relauncher .IFMLLoadingPlugin .MCVersion ;
5
6
import cpw .mods .fml .relauncher .IFMLLoadingPlugin .Name ;
@@ -31,6 +32,7 @@ public String getSetupClass() {
31
32
@ Override
32
33
public void injectData (Map <String , Object > data ) {
33
34
mcDir = (File ) data .get ("mcLocation" );
35
+ ConfigurationManager .init ();
34
36
}
35
37
36
38
@ Override
Original file line number Diff line number Diff line change @@ -61,11 +61,6 @@ public FalsePatternLib() {
61
61
log .info ("Version " + Tags .VERSION + " initialized!" );
62
62
}
63
63
64
- @ Mod .EventHandler
65
- public void construct (FMLConstructionEvent e ) {
66
- proxy .construct (e );
67
- }
68
-
69
64
@ Mod .EventHandler
70
65
public void preInit (FMLPreInitializationEvent e ) {
71
66
proxy .preInit (e );
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ public class CommonProxy {
22
22
23
23
protected Future <List <ModUpdateInfo >> updatesFuture ;
24
24
25
- public void construct (FMLConstructionEvent e ) {
26
- ConfigurationManager .init ();
27
- }
28
-
29
25
public void preInit (FMLPreInitializationEvent e ) {
30
26
try {
31
27
ConfigurationManager .registerConfig (LibraryConfig .class );
You can’t perform that action at this time.
0 commit comments