We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4028343 commit 67d5d53Copy full SHA for 67d5d53
src/main/java/cc/polyfrost/example/ExampleMod.java
@@ -16,6 +16,6 @@ public class ExampleMod {
16
@net.minecraftforge.fml.common.Mod.EventHandler
17
public void onFMLInitialization(net.minecraftforge.fml.common.event.FMLInitializationEvent event) {
18
config = new TestConfig();
19
- CommandManager.INSTANCE.registerCommand(ExampleCommand.class);
+ CommandManager.INSTANCE.registerCommand(new ExampleCommand());
20
}
21
0 commit comments