Skip to content

Included reward chance roll#11

Open
AaronPBCraft wants to merge 1 commit into
nulli0n:masterfrom
AaronPBCraft:master
Open

Included reward chance roll#11
AaronPBCraft wants to merge 1 commit into
nulli0n:masterfrom
AaronPBCraft:master

Conversation

@AaronPBCraft
Copy link
Copy Markdown

Hi!
This PR fixes an issue where SourceReward#chance was never evaluated.
The reward roll methods always called roll() directly without checking checkChance(), causing rewards to be granted unconditionally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant