mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-24 04:50:30 -04:00
minor cleanup and appending '-devNNN' to version in mcmod.info (for jenkins)
This commit is contained in:
parent
00702f2389
commit
40fd6f6332
@ -22,8 +22,11 @@ version = "2.0.0"
|
|||||||
group= "li.cil.oc" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
group= "li.cil.oc" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
archivesBaseName = "OpenComputers"
|
archivesBaseName = "OpenComputers"
|
||||||
|
|
||||||
|
if (System.getenv("BUILD_NUMBER") != null)
|
||||||
|
version += "-dev${System.getenv("BUILD_NUMBER")}"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.7.2-10.12.0.1024"
|
version = "1.7.2-10.12.0.1028"
|
||||||
assetDir = "eclipse/assets"
|
assetDir = "eclipse/assets"
|
||||||
}
|
}
|
||||||
processResources
|
processResources
|
||||||
|
@ -237,7 +237,7 @@ class FileSystem(val fileSystem: IFileSystem, var label: Label) extends ManagedC
|
|||||||
val address = ownerNbt.getString("address")
|
val address = ownerNbt.getString("address")
|
||||||
if (address != "") {
|
if (address != "") {
|
||||||
// Was tag list in 1.6, so wee need to check this when upgrading.
|
// Was tag list in 1.6, so wee need to check this when upgrading.
|
||||||
if (ownerNbt.getTag("handles").getId == NBT.TAG_INT_ARRAY) {
|
if (ownerNbt.hasKey("handles", NBT.TAG_INT_ARRAY)) {
|
||||||
owners += address -> ownerNbt.getIntArray("handles").to[mutable.Set]
|
owners += address -> ownerNbt.getIntArray("handles").to[mutable.Set]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user