Skip to content

Commit

Permalink
fixing error
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgdevx committed Sep 3, 2024
1 parent 0f49dbd commit 75973a9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
"Add",
"SlashCmdList",
"hash_SlashCmdList",
"ButtonFrameTemplate_HidePortrait",
"UIParent",
"FrameUtil",
"SECONDS_PER_MIN",
"SECONDS_PER_DAY",
"SECONDS_PER_HOUR",
"HOURS_MINUTES_SECONDS",
"MINUTES_SECONDS"
"MINUTES_SECONDS",
"ButtonFrameTemplate_HidePortrait"
],
"Lua.runtime.version": "Lua 5.1",
"Lua.runtime.builtin": {
Expand All @@ -49,5 +50,7 @@
"table": "disable",
"utf8": "disable"
},
"Lua.workspace.library": ["~\\.vscode\\extensions\\ketho.wow-api-0.17.6\\Annotations"]
"Lua.workspace.library": [
"~\\.vscode\\extensions\\ketho.wow-api-0.17.6\\Annotations"
]
}
2 changes: 1 addition & 1 deletion AutoBodyRes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ local DEAD_EVENTS = {
}

function AutoBodyRes:PlayerDeadEvents()
FrameUtil.RegisterFrameForEvents(self, DEAD_EVENTS)
FrameUtil.RegisterFrameForEvents(AutoBodyResFrame, DEAD_EVENTS)

self:PlayerDead()
end
Expand Down
2 changes: 1 addition & 1 deletion AutoBodyRes.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 110002
## Title: AutoBodyRes
## Version: 1.1.0
## Version: 1.1.1
## Author: RBGDEV
## Notes: Shows text if someone took your body or not after you died in a battleground, preventing you from being able to body res.
## OptionalDeps: Ace3, LibStub, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Auto Body Res

## [v1.1.1](https://github.com/rbgdevx/auto-body-res/releases/tag/v1.1.1) (2024-09-03)

- Fixing error
- Removing unused type

## [v1.1.0](https://github.com/rbgdevx/auto-body-res/releases/tag/v1.1.0) (2024-09-02)

- Refactor lib usage to match what im doing on BGWC addon to reduce needed libs and global db issues
Expand Down
1 change: 0 additions & 1 deletion config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ local CreateFrame = CreateFrame
---@field SlashCommands function
---@field frame Frame
---@field db DBTable
---@field isInitialized boolean

---@type AutoBodyRes
---@diagnostic disable-next-line: missing-fields
Expand Down

0 comments on commit 75973a9

Please sign in to comment.