diff --git a/src/main/scala/li/cil/oc/server/component/LinkedCard.scala b/src/main/scala/li/cil/oc/server/component/LinkedCard.scala index ac7f0d8dd..f9b3b982a 100644 --- a/src/main/scala/li/cil/oc/server/component/LinkedCard.scala +++ b/src/main/scala/li/cil/oc/server/component/LinkedCard.scala @@ -34,7 +34,8 @@ class LinkedCard extends prefab.ManagedEnvironment with QuantumNetwork.QuantumNo DeviceAttribute.Description -> "Quantumnet controller", DeviceAttribute.Vendor -> Constants.DeviceInfo.DefaultVendor, DeviceAttribute.Product -> "HyperLink IV: Ender Edition", - DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString + DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString, + DeviceAttribute.Width -> Settings.get.maxNetworkPacketParts ) override def getDeviceInfo: util.Map[String, String] = deviceInfo diff --git a/src/main/scala/li/cil/oc/server/component/NetworkCard.scala b/src/main/scala/li/cil/oc/server/component/NetworkCard.scala index d5823d184..bd21cbc81 100644 --- a/src/main/scala/li/cil/oc/server/component/NetworkCard.scala +++ b/src/main/scala/li/cil/oc/server/component/NetworkCard.scala @@ -48,7 +48,8 @@ class NetworkCard(val host: EnvironmentHost) extends prefab.ManagedEnvironment w DeviceAttribute.Description -> "Ethernet controller", DeviceAttribute.Vendor -> Constants.DeviceInfo.DefaultVendor, DeviceAttribute.Product -> "42i520 (MPN-01)", - DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString + DeviceAttribute.Capacity -> Settings.get.maxNetworkPacketSize.toString, + DeviceAttribute.Width -> Settings.get.maxNetworkPacketParts ) override def getDeviceInfo: util.Map[String, String] = deviceInfo