mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-19 04:06:43 -04:00
fixed gregtech analyzer recipe (needed wildcard for sensor damage)
This commit is contained in:
parent
c25260d8eb
commit
b725473574
@ -5,7 +5,7 @@ include file("hardmode.recipes")
|
||||
|
||||
analyzer {
|
||||
input: [["oc:craftingTransistor", torchRedstoneActive, "oc:craftingTransistor"]
|
||||
["oc:circuitTier2", "item.GT_Scanner", "oc:circuitTier2"]
|
||||
["oc:circuitTier2",{item="item.GT_Scanner", subID=any}, "oc:circuitTier2"]
|
||||
[screwAluminium, craftingToolScrewdriver, screwAluminium]]
|
||||
}
|
||||
|
||||
|
@ -20,10 +20,12 @@ object SaveHandler {
|
||||
def scheduleSave(dimension: Int, chunk: ChunkCoordIntPair, name: String, data: Array[Byte]) = saveData.synchronized {
|
||||
if (chunk == null) throw new IllegalArgumentException("chunk is null")
|
||||
else {
|
||||
val chunks = saveData.getOrElseUpdate(dimension, mutable.Map.empty)
|
||||
// Make sure we get rid of old versions (e.g. left over by other mods
|
||||
// triggering a save - this is mostly used for RiM compatibility).
|
||||
chunks.values.foreach(_ -= name)
|
||||
// triggering a save - this is mostly used for RiM compatibility). We
|
||||
// need to do this for *each* dimension, in case computers are teleported
|
||||
// across dimensions.
|
||||
for (chunks <- saveData.values) chunks.values.foreach(_ -= name)
|
||||
val chunks = saveData.getOrElseUpdate(dimension, mutable.Map.empty)
|
||||
chunks.getOrElseUpdate(chunk, mutable.Map.empty) += name -> data
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user