Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodDragon2580 committed Aug 11, 2024
1 parent 1f678f1 commit 318fc34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
17 changes: 0 additions & 17 deletions GildenSteuer/GildenSteuer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function GildenSteuer:OnInitialize()
self.guildRealm = nil
self.numberMembers = nil
self.numberMembersOnline = nil
self.isMailOpened = false
self.isBankOpened = false
self.isPayingTax = false
self.isReady = false
Expand Down Expand Up @@ -677,8 +676,6 @@ function GildenSteuer:PLAYER_MONEY( ... )
elseif delta > 0 then
if not self.guildId then
self:Debug("Not in guild, transaction ignored")
elseif self.isMailOpened then
self:Debug("Mailbox is open, transaction ignored")
elseif self.isBankOpened then
self:Debug("Guild bank is open, transaction ignored")
else
Expand Down Expand Up @@ -720,18 +717,6 @@ function GildenSteuer:GUILDBANKBAGSLOTS_CHANGED( ... )

end

function GildenSteuer:MAIL_SHOW( ... )
self:Debug("Mailbox opened")
self.isMailOpened = true
end

function GildenSteuer:MAIL_CLOSED( ... )
if self.isMailOpened then
self:Debug("Mailbox closed")
self.isMailOpened = false
end
end

function GildenSteuer:PLAYER_GUILD_UPDATE(event, unit)
if unit == "player" then
self:Debug("Player guild info updated")
Expand Down Expand Up @@ -770,7 +755,5 @@ GildenSteuer:RegisterChatCommand(SLASH_COMMAND, "OnSlashCommand")
GildenSteuer:RegisterEvent("PLAYER_ENTERING_WORLD")
GildenSteuer:RegisterEvent("PLAYER_MONEY")
GildenSteuer:RegisterEvent("GUILDBANKBAGSLOTS_CHANGED")
GildenSteuer:RegisterEvent("MAIL_SHOW")
GildenSteuer:RegisterEvent("MAIL_CLOSED")
GildenSteuer:RegisterEvent("PLAYER_GUILD_UPDATE")
GildenSteuer:RegisterEvent("GUILD_ROSTER_UPDATE")
2 changes: 1 addition & 1 deletion GildenSteuer/GildenSteuer.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title:|cffd6266cGildenSteuer|r
## Notes: Zahl deine Steuer und mach die Gilde Glücklich
## Author: BloodDragon2580
## Version: 6.9
## Version: 7.0
## SavedVariables: GildenSteuerDB
## IconTexture: Interface\AddOns\GildenSteuer\Media\Texture\logo

Expand Down

0 comments on commit 318fc34

Please sign in to comment.