Skip to content

Commit

Permalink
修复自定义事件生成错误
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Jul 8, 2024
1 parent 1bc9356 commit 42a26c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/customDefine/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export class Events extends BaseDefine {
event.args.push({
name,
type,
luaType: Table.type.toLuaType[type]?.[0] ?? 'any',
desc: Table.type.toName[type]?.[1] ?? '不支持的类型',
luaType: Table.type.toLuaType[type] ?? 'any',
desc: Table.type.toName[type] ?? '不支持的类型',
});
}
}
Expand Down

0 comments on commit 42a26c0

Please sign in to comment.