Skip to content

Commit

Permalink
Added explanation to disenchant button when it's disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Jan 21, 2023
1 parent 493232d commit b2647a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Windows/ServerWindow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@
});

table.insert(menu, 3,
{ text = format(disenchanter and "To Disenchanter: %s" or "To Disenchanter", disenchanter and LootReserve:ColoredPlayer(disenchanter)),
{ text = format("To Disenchanter" .. (LootReserve.Server.Settings.RollDisenchant and (disenchanter and ": %s" or " (None Found)") or " (Not Enabled)"), disenchanter and LootReserve:ColoredPlayer(disenchanter)),
disabled = not disenchanter,
func = function(...)
if not LootReserve.Server.CurrentSession or not LootReserve.Server.CurrentSession.ItemReserves[token and token:GetID() or item:GetID()] then
Expand Down

0 comments on commit b2647a3

Please sign in to comment.