diff --git a/src/main/scala/li/cil/oc/server/driver/Registry.scala b/src/main/scala/li/cil/oc/server/driver/Registry.scala index fbaa60666..a4c540c8d 100644 --- a/src/main/scala/li/cil/oc/server/driver/Registry.scala +++ b/src/main/scala/li/cil/oc/server/driver/Registry.scala @@ -143,8 +143,8 @@ private[oc] object Registry extends api.detail.DriverAPI { case t: Throwable => OpenComputers.log.warn("Type converter threw an exception.", t) }) if (converted.isEmpty) { - memo += arg -> null - null + memo += arg -> arg.toString + arg.toString } else { // This is a little nasty but necessary because we need to keep the