Skip to content

Commit

Permalink
Will no longer try to unregister a LP context calculator that does no…
Browse files Browse the repository at this point in the history
…t exist
  • Loading branch information
ajgeiss0702 committed Jan 15, 2023
1 parent 4cb4fdd commit b8fabc5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ public void load() {

@Override
public void checkReload(boolean register) {
if(loaded && !register) {
if(loaded && !register && context != null) {
api.getContextManager().unregisterCalculator(context);
context = null;
}
Expand Down

0 comments on commit b8fabc5

Please sign in to comment.