-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes an issue where prizes were picked incorrectly.
The issue was I was using a method that got the `DisplayName` of the item which is only for previews. If the display name of 2 prizes were exactly the same. It would just get confused and not give prizes correctly. getPrizeNumber() returns `1` which is what we want when picking prizes. This is likely the last update for 1.20.4 unless another bug shows up. ```yml Crate: Prizes: 1: DisplayName: "&cAn example of a Player Head!" ```
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters