Closed FreezePhoenix closed 5 months ago
grumble
Fixed another bug with giveaways: If a player (who won the giveaway) was not on the server when the giveaway ended, or their inventory was full, then the server would push { name: undefined }
into the list of players that could win the giveaway. This would send the item into the abyss, as it would error while the server would try to mail the item, preventing it from being recovered.
This fixes a bug with giveaways. Giveaways would previously list all of the participants of a giveaway in the mail, but at some point a breaking change occurred, and instead it lists [object Object] multiple times.
Example of bugged behavior: