From ee255c90ff324bb131ad5d9da69142df6eb7bdc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Wed, 16 Dec 2015 21:30:56 +0100 Subject: [PATCH] Corrected EEPROM docstring. Closes #1553. --- src/main/scala/li/cil/oc/server/component/EEPROM.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/li/cil/oc/server/component/EEPROM.scala b/src/main/scala/li/cil/oc/server/component/EEPROM.scala index 2e70c6dbf..5641c6302 100644 --- a/src/main/scala/li/cil/oc/server/component/EEPROM.scala +++ b/src/main/scala/li/cil/oc/server/component/EEPROM.scala @@ -59,7 +59,7 @@ class EEPROM extends prefab.ManagedEnvironment { result(label) } - @Callback(direct = true, doc = """function():string -- Get the storage capacity of this EEPROM.""") + @Callback(direct = true, doc = """function():number -- Get the storage capacity of this EEPROM.""") def getSize(context: Context, args: Arguments): Array[AnyRef] = result(Settings.get.eepromSize) @Callback(direct = true, doc = """function():string -- Get the checksum of the data on this EEPROM.""") @@ -74,7 +74,7 @@ class EEPROM extends prefab.ManagedEnvironment { else result(Unit, "incorrect checksum") } - @Callback(direct = true, doc = """function():string -- Get the storage capacity of this EEPROM.""") + @Callback(direct = true, doc = """function():number -- Get the storage capacity of this EEPROM.""") def getDataSize(context: Context, args: Arguments): Array[AnyRef] = result(Settings.get.eepromDataSize) @Callback(direct = true, doc = """function():string -- Get the currently stored byte array.""")