Skip to content

Commit be44f25

Browse files
committed
need this so that we don't appear disabled in the mod list
1 parent 008ef22 commit be44f25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/falsepattern/lib/FalsePatternLib.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package com.falsepattern.lib;
22

33
import com.falsepattern.lib.api.Version;
4+
import com.google.common.eventbus.EventBus;
45
import cpw.mods.fml.common.DummyModContainer;
6+
import cpw.mods.fml.common.LoadController;
57
import cpw.mods.fml.common.ModMetadata;
68
import lombok.NonNull;
79
import lombok.val;
@@ -41,6 +43,12 @@ public FalsePatternLib() {
4143
meta.useDependencyInformation = true;
4244
}
4345

46+
@SuppressWarnings("UnstableApiUsage")
47+
@Override
48+
public boolean registerBus(EventBus bus, LoadController controller) {
49+
return true;
50+
}
51+
4452
public static void addMavenRepo(String url) {
4553
mavenRepositories.add(url);
4654
}

0 commit comments

Comments
 (0)