Skip to content

Vault hook doesnt work. That  #4

@Freyhold

Description

@Freyhold

Describe the bug
Without vault u can turn on this plugin, because hook destory loading plugin.
To Reproduce
Just install vault.

Expected behavior
Just turn on and hook properly

Server Information (please complete the following information):

  • Java Version [e.g 8]
  • Paper 1.15.2 387 build.

Additional context
[23:51:05 ERROR]: Error occurred while enabling BuildBattlePro v6.4.4-BETA (Is it up to date?)
java.lang.NullPointerException: null
at me.drawethree.buildbattle.hooks.BBVaultHook.runHookAction(BBVaultHook.java:23) ~[?:?]
at me.drawethree.buildbattle.hooks.BBHook.hook(BBHook.java:52) ~[?:?]
at me.drawethree.buildbattle.hooks.BBHook.attemptHooks(BBHook.java:24) ~[?:?]
at me.drawethree.buildbattle.BuildBattle.hook(BuildBattle.java:145) ~[?:?]
at me.drawethree.buildbattle.BuildBattle.onEnable(BuildBattle.java:102) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.15.2.jar:git-Paper-387]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.15.2.jar:git-Paper-387]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.15.2.jar:git-Paper-387]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:472) ~[patched_1.15.2.jar:git-Paper-387]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:386) ~[patched_1.15.2.jar:git-Paper-387]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:488) ~[patched_1.15.2.jar:git-Paper-387]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.15.2.jar:git-Paper-387]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:909) ~[patched_1.15.2.jar:git-Paper-387]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions