Skip to content

Commit

Permalink
actually run modcore
Browse files Browse the repository at this point in the history
  • Loading branch information
asbyth committed Apr 6, 2020
1 parent 683df00 commit 6df75d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {

apply plugin: 'net.minecraftforge.gradle.forge'

version = "1.3"
version = "1.3.1"
group = "me.conorthedev" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "MediaMod"

Expand Down
Binary file modified libs/modcore.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions src/main/java/me/conorthedev/mediamod/MediaMod.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package me.conorthedev.mediamod;

import club.sk1er.modcore.ModCoreInstaller;
import java.io.File;
import java.io.IOException;
import me.conorthedev.mediamod.command.MediaModCommand;
Expand All @@ -12,6 +13,7 @@
import me.conorthedev.mediamod.media.spotify.SpotifyHandler;
import me.conorthedev.mediamod.util.Metadata;
import me.conorthedev.mediamod.util.PlayerMessager;
import net.minecraft.client.Minecraft;
import net.minecraft.launchwrapper.Launch;
import net.minecraftforge.client.ClientCommandHandler;
import net.minecraftforge.common.MinecraftForge;
Expand Down Expand Up @@ -77,6 +79,7 @@ public void preInit(FMLPreInitializationEvent event) {
*/
@EventHandler
public void init(FMLInitializationEvent event) {
ModCoreInstaller.initializeModCore(Minecraft.getMinecraft().mcDataDir);
LOGGER.info("MediaMod starting...");

// Register event subscribers and commands
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/me/conorthedev/mediamod/util/Metadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
public class Metadata {
public static final String NAME = "MediaMod";
public static final String MODID = "mediamod";
public static final String VERSION = "1.3";
public static final int VERSION_INT = 4;
public static final String VERSION = "1.3.1";
}

0 comments on commit 6df75d6

Please sign in to comment.