Skip to content

Commit

Permalink
Potential fix for levels sometime can be 0 when calculated using form…
Browse files Browse the repository at this point in the history
…ula (#1602)
  • Loading branch information
OmerBenGera committed Feb 17, 2023
1 parent 37cd915 commit 411c790
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -86,7 +86,7 @@ public void loadData() {

this.blockWorthValues.loadDefaultValues(plugin);
this.blockLevels.loadDefaultValues(plugin);
convertValuesToLevels();
plugin.getProviders().addPricesLoadCallback(this::convertValuesToLevels);
}

@Override
Expand Down

0 comments on commit 411c790

Please sign in to comment.