Skip to content

Commit

Permalink
Fixes an issue when servers without VaultAPI could not open configure…
Browse files Browse the repository at this point in the history
… GUI.
  • Loading branch information
BONNe committed Jan 6, 2021
1 parent c568f9e commit f979b08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- This allows to change between versions and snapshots. -->
<build.version>1.0.0</build.version>
<build.version>1.1.0</build.version>
<build.number>-LOCAL</build.number>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private void build()
return;
}

if (this.addon.getVaultHook().hook())
if (this.addon.getVaultHook() != null && this.addon.getVaultHook().hook())
{
// Add value button only if vault is enabled.
panelBuilder.item(0, this.createValueButton());
Expand Down

0 comments on commit f979b08

Please sign in to comment.