Skip to content

Commit

Permalink
Fix DiscordSRV join/leave messages being flipped
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
quantiom committed Aug 7, 2022
1 parent 1873920 commit 79ff088
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object AdvancedVanishAPI {
Bukkit.broadcastMessage(message)

if (HooksManager.isHookEnabled("DiscordSrv")) {
DiscordSRV.getPlugin().sendJoinMessage(player, message)
DiscordSRV.getPlugin().sendLeaveMessage(player, message)
}
}

Expand Down Expand Up @@ -152,7 +152,7 @@ object AdvancedVanishAPI {
Bukkit.broadcastMessage(message)

if (HooksManager.isHookEnabled("DiscordSrv")) {
DiscordSRV.getPlugin().sendLeaveMessage(player, message)
DiscordSRV.getPlugin().sendJoinMessage(player, message)
}
}

Expand Down

0 comments on commit 79ff088

Please sign in to comment.