Skip to content

Commit

Permalink
fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
DefinitlyEvil committed Jan 25, 2019
1 parent 756d9f3 commit b401132
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void onEnable() {
}

public void reloadConfigurations() {
menu.cleanUp();
if(menu != null) menu.cleanUp();
menu = null;
menuConfigs = null;

Expand Down

0 comments on commit b401132

Please sign in to comment.