mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-26 22:43:40 -04:00
Merge branch 'master' of https://github.com/MightyPirates/OpenComputers into MC1.7
This commit is contained in:
commit
678424ee09
@ -6,6 +6,7 @@ import li.cil.oc.api.driver.Converter
|
||||
import li.cil.oc.{OpenComputers, api}
|
||||
import net.minecraft.item.ItemStack
|
||||
import net.minecraft.world.World
|
||||
import scala.collection.convert.WrapAsScala._
|
||||
import scala.collection.mutable.ArrayBuffer
|
||||
|
||||
/**
|
||||
@ -90,6 +91,9 @@ private[oc] object Registry extends api.detail.DriverAPI {
|
||||
case arg: Map[_, _] => arg.map {
|
||||
case (key: AnyRef, value: AnyRef) => convertRecursively(key) -> convertRecursively(value)
|
||||
}
|
||||
case arg: java.util.Map[_, _] => arg.map {
|
||||
case (key: AnyRef, value: AnyRef) => convertRecursively(key) -> convertRecursively(value)
|
||||
}
|
||||
|
||||
case arg =>
|
||||
val result = new util.HashMap[AnyRef, AnyRef]()
|
||||
|
Loading…
x
Reference in New Issue
Block a user