Fix NPE with Vault transient permissions - closes #117

This commit is contained in:
Luck 2017-01-05 18:20:17 +00:00
parent 454abec468
commit a71e040c6d
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -70,6 +70,8 @@ public class VaultPermissionHook extends Permission {
this.plugin = plugin;
this.scheduler = new VaultScheduler(plugin);
super.plugin = plugin;
// Config options
this.server = plugin.getConfiguration().getVaultServer();
this.includeGlobal = plugin.getConfiguration().isVaultIncludingGlobal();