Problem with breaking blocks.
Trusebruse opened this issue ยท 6 comments
If i am breaking any blocks a long error message show up in the console:
10:49:26 [SEVERE] Could not pass event BlockBreakEvent to ecoCreature v0.2.1-b223
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:277)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:126)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:112)
at net.minecraft.server.ServerConnection.b(SourceFile:39)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.permission.plugins.Permission_GroupManager.playerHas(Permission_GroupManager.java:111)
at net.milkbowl.vault.permission.Permission.has(Permission.java:85)
at se.crafted.chrisb.ecoCreature.commons.DependencyUtils.hasPermission(DependencyUtils.java:116)
at se.crafted.chrisb.ecoCreature.settings.CustomMaterialRewardSettings.hasRewardSource(CustomMaterialRewardSettings.java:58)
at se.crafted.chrisb.ecoCreature.settings.CustomMaterialRewardSettings.hasRewardSource(CustomMaterialRewardSettings.java:50)
at se.crafted.chrisb.ecoCreature.settings.WorldSettings.hasReward(WorldSettings.java:120)
at se.crafted.chrisb.ecoCreature.events.handlers.BlockEventHandler.getRewardEvents(BlockEventHandler.java:70)
at se.crafted.chrisb.ecoCreature.events.handlers.BlockEventHandler.createRewardEvents(BlockEventHandler.java:57)
at se.crafted.chrisb.ecoCreature.events.handlers.PluginEventHandler.createRewardEvents(PluginEventHandler.java:53)
at se.crafted.chrisb.ecoCreature.events.listeners.BlockEventListener.onBlockBreak(BlockEventListener.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 16 more
>
As you may guess, This wont work in a building server :P
It looks like you're using EssentialsGroupManager, correct? I setup my test server with the latest Vault and EssentialsGroupManager and didn't get any errors breaking blocks. What versions of Vault and EssentialsGroupManager are you using?
Did you customize your default.yml? If so, post it on pastie.org so that I can test drive it.