diff --git a/classes/dataholders/listholder.lua b/classes/dataholders/listholder.lua index 409c1d4..de1b425 100644 --- a/classes/dataholders/listholder.lua +++ b/classes/dataholders/listholder.lua @@ -32,7 +32,7 @@ function ListHolder:replace(datas) end end -function ListHolder:reduce(list, level) +function ListHolder:reduce(level) return self.list end diff --git a/classes/dataholders/simpleholder.lua b/classes/dataholders/simpleholder.lua index f6a0418..af7371a 100644 --- a/classes/dataholders/simpleholder.lua +++ b/classes/dataholders/simpleholder.lua @@ -11,7 +11,7 @@ function SimpleHolder:applyCommand(command, args) self.value = args end -function SimpleHolder:reduce(list, level) +function SimpleHolder:reduce(level) return self.value end