From a71e040c6de4a5e1768b9b80d31895ab274e8987 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 5 Jan 2017 18:20:17 +0000 Subject: [PATCH] Fix NPE with Vault transient permissions - closes #117 --- .../me/lucko/luckperms/bukkit/vault/VaultPermissionHook.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultPermissionHook.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultPermissionHook.java index 4a9e0e0c..28cd7395 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultPermissionHook.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/VaultPermissionHook.java @@ -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();