mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-13 17:04:25 +00:00
Update build script
This commit is contained in:
1 parent
bd1a72e958
commit
3ffec4fa5b
3 files changed
+9
-8
No files matched your search
+1
-1
@@ -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,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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user