File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/falsepattern/lib/internal Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ gradleTokenGroupName = GRADLETOKEN_GROUPNAME
54
54
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise you can
55
55
# leave this property empty.
56
56
# Example value: apiPackage = api + modGroup = com.myname.mymodid -> com.myname.mymodid.api
57
- apiPackage = api
57
+ apiPackage =
58
58
59
59
# Specify the configuration file for Forge's access transformers here. I must be placed into /src/main/resources/META-INF/
60
60
# Example value: mymodid_at.cfg
Original file line number Diff line number Diff line change 3
3
import com .falsepattern .lib .config .ConfigurationManager ;
4
4
import com .falsepattern .lib .util .ResourceUtil ;
5
5
import com .google .common .eventbus .EventBus ;
6
+ import com .google .common .eventbus .Subscribe ;
6
7
import cpw .mods .fml .common .DummyModContainer ;
7
8
import cpw .mods .fml .common .LoadController ;
8
9
import cpw .mods .fml .common .MetadataCollection ;
9
- import cpw .mods .fml .common .Mod ;
10
10
import cpw .mods .fml .common .event .FMLConstructionEvent ;
11
- import cpw .mods .fml .common .event .FMLPreInitializationEvent ;
12
11
import lombok .Getter ;
13
12
import net .minecraft .launchwrapper .Launch ;
14
13
import org .apache .logging .log4j .LogManager ;
@@ -29,7 +28,8 @@ public FalsePatternLib() {
29
28
log .info ("Version " + Tags .VERSION + " initialized!" );
30
29
}
31
30
32
- @ Mod .EventHandler
31
+ @ SuppressWarnings ("UnstableApiUsage" )
32
+ @ Subscribe
33
33
public void construct (FMLConstructionEvent e ) {
34
34
ConfigurationManager .init ();
35
35
}
You can’t perform that action at this time.
0 commit comments