Update build script

This commit is contained in:
Chicken-Bones committed 2014-04-28 19:43:34 +10:00
1 parent bd1a72e958
commit 3ffec4fa5b
3 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -17,8 +17,8 @@ buildscript {
}
// Apply the forge plugin - this adds all the magic for automatically obfuscating, deobfuscating etc
apply plugin: 'forge'
apply plugin: 'scala'
apply plugin: 'forge'
// This is our group
group = "codechicken" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
+1 -1
View File
@@ -1,4 +1,4 @@
mc_version=1.7.2
forge_version=10.12.0.1054
ccl_version=1.1.0.72
ccl_version=1.1.0.74
mod_version=1.1.0
@@ -79,13 +79,14 @@ object MultiPartRegistry
if (container == null)
throw new IllegalStateException("Parts must be registered during the initialization phase of a mod container")
types.foreach {
s =>
if (typeMap.contains(s))
throw new IllegalStateException("Part with id " + s + " is already registered.")
types.foreach { s =>
if (typeMap.contains(s))
throw new IllegalStateException("Part with id " + s + " is already registered.")
typeMap.put(s, (c: Boolean) => partFactory(s, c))
containers.put(s, container)
logger.debug("Registered multipart: "+s)
typeMap.put(s, (c: Boolean) => partFactory(s, c))
containers.put(s, container)
}
}