Merge branch 'master-MC1.8' of github.com:MightyPirates/OpenComputers into OC1.5-MC1.8

This commit is contained in:
Florian Nücke 2015-05-26 15:25:39 +02:00
commit d0fb7d4552

View File

@ -113,7 +113,7 @@ private[oc] object Registry extends api.detail.DriverAPI {
memo.get(valueRef)
}
else valueRef match {
case null | None => null
case null | Unit | None => null
case arg: java.lang.Boolean => arg
case arg: java.lang.Byte => arg