Fixed problems with buildscript

Signed-off-by: deathrat <deathrat43@gmail.com>
This commit is contained in:
deathrat 2013-12-17 19:09:53 -05:00
parent a8baba9430
commit 8d19d71d8a
4 changed files with 12 additions and 4 deletions

View file

@ -13,6 +13,8 @@ buildscript {
apply plugin: 'forge'
version = "2.1.1RC1"
group= "com.stevenrs11.dimdoors" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "dimdoors"
@ -21,6 +23,9 @@ minecraft {
version = "1.6.4-9.11.1.964"
}
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
processResources
{
// replace stuff in mcmod.info, nothing else
@ -39,6 +44,5 @@ processResources
jar
{
destinationDir = "build/dist/"
archiveName = "DimensionalDoors-$version.jar"
destinationDir = new File("build/dist/")
}

View file

@ -80,4 +80,10 @@ public abstract class DDCommandBase extends CommandBase
player.sendChatToPlayer(cmp);
}
@Override
public int compareTo(Object par1Obj)
{
return this.getCommandName().compareTo(((CommandBase)par1Obj).getCommandName());
}
}

View file

@ -1,5 +1,4 @@
package StevenDimDoors.mod_pocketDimClient;
import net.minecraft.src.ModLoader;
import StevenDimDoors.mod_pocketDim.CommonProxy;
import StevenDimDoors.mod_pocketDim.ticking.MobMonolith;
import StevenDimDoors.mod_pocketDim.tileentities.TileEntityDimDoor;
@ -33,7 +32,6 @@ public class ClientProxy extends CommonProxy
@Override
public void printStringClient(String string)
{
ModLoader.getMinecraftInstance().ingameGUI.getChatGUI().printChatMessage(string);
}
}