fix: Pluralize name
This commit is contained in:
@@ -486,7 +486,7 @@ export async function runLua(code:string, arg:{
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Lore books
|
// Lore books
|
||||||
luaEngine.global.set('getLoreBookMain', (id:string, search: string) => {
|
luaEngine.global.set('getLoreBooksMain', (id:string, search: string) => {
|
||||||
if(!LuaSafeIds.has(id)){
|
if(!LuaSafeIds.has(id)){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -770,8 +770,8 @@ function log(value)
|
|||||||
logMain(json.encode(value))
|
logMain(json.encode(value))
|
||||||
end
|
end
|
||||||
|
|
||||||
function getLoreBook(id, search)
|
function getLoreBooks(id, search)
|
||||||
return json.decode(getLoreBookMain(id, search))
|
return json.decode(getLoreBooksMain(id, search))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user