Skip to content

Commit

Permalink
effic: cache config values
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 19, 2019
1 parent a785eb2 commit 8c2cfca
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 95 deletions.
1 change: 1 addition & 0 deletions plugin/src/main/java/net/aufdemrand/denizen/Denizen.java
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@ public void onDisable() {
@Override
public void reloadConfig() {
super.reloadConfig();
Settings.refillCache();
SlowWarning.WARNING_RATE = Settings.warningRate();
}

Expand Down
Loading

0 comments on commit 8c2cfca

Please sign in to comment.