Skip to content

Commit

Permalink
update for core
Browse files Browse the repository at this point in the history
  • Loading branch information
dries007 committed Aug 18, 2014
1 parent f27668a commit 90bb5df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Expand Up @@ -28,18 +28,11 @@ apply plugin: "maven"
apply plugin: "idea-utils"

group = "net.doubledoordev.d3commands"
version = "1.0.0"
version = "1.1.0"

targetCompatibility = 1.7
sourceCompatibility = 1.7

repositories {
maven {
name "DDD repo"
url "http://doubledoordev.net/maven/"
}
}

archivesBaseName = 'D3Commands'
def githuborg = 'DoubleDoorDevelopment'
def description = 'Some useful command things'
Expand All @@ -48,6 +41,13 @@ minecraft {
runDir = "jars"
}

repositories {
maven {
name "DDD repo"
url "http://doubledoordev.net/maven/"
}
}

dependencies {
compile "net.doubledoordev.d3core:D3Core:" + project.minecraft.version + "-+:dev"
}
Expand Down
7 changes: 1 addition & 6 deletions src/main/java/net/doubledoordev/d3commands/D3Commands.java
Expand Up @@ -10,21 +10,18 @@
import net.doubledoordev.d3core.util.ID3Mod;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import org.apache.logging.log4j.Logger;

import java.util.List;

import static net.doubledoordev.d3commands.util.Constants.MODID;
import static net.doubledoordev.d3commands.util.Constants.NAME;

@Mod(modid = MODID, name = NAME, dependencies = "D3Core")
@Mod(modid = MODID, name = NAME, canBeDeactivated = false)
public class D3Commands implements ID3Mod
{
@Mod.Instance(MODID)
public static D3Commands instance;

private Logger logger;
private boolean debug = false;
private boolean tps = true;
private boolean tpx = true;
private boolean kill = true;
Expand All @@ -33,8 +30,6 @@ public class D3Commands implements ID3Mod
@Mod.EventHandler
public void preInit(FMLPreInitializationEvent event)
{
logger = event.getModLog();

configuration = new Configuration(event.getSuggestedConfigurationFile());
syncConfig();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mcmod.info
@@ -1,7 +1,7 @@
{
"modListVersion": 2,
"modList": [{
"modid": "D3Commands",
"modid": "${modid}",
"name": "${modid}",
"description": "${description}",
"version": "${version}",
Expand Down

0 comments on commit 90bb5df

Please sign in to comment.