Skip to content

Commit

Permalink
适配Lua插件3.8.0版本
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Apr 22, 2024
1 parent d009b6f commit 015cd1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/metaBuilder/playerAttrs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { define } from '../customDefine';
import { BaseBuilder } from './baseBuilder';

const template =
`---@diagnostic disable-next-line: duplicate-doc-alias
---@enum(key) y3.Const.PlayerAttr
`---@enum(key, partial) y3.Const.PlayerAttr
local PlayerAttr = {
%{ATTR_ENUMS}
}
Expand Down
3 changes: 1 addition & 2 deletions src/metaBuilder/unitAttrs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { define } from '../customDefine';
import { BaseBuilder } from './baseBuilder';

const template =
`---@diagnostic disable-next-line: duplicate-doc-alias
---@enum(key) y3.Const.UnitAttr
`---@enum(key, partial) y3.Const.UnitAttr
local UnitAttr = {
%{ATTR_ENUMS}
}
Expand Down

0 comments on commit 015cd1b

Please sign in to comment.