MilkBowl/Vault — Issue #27: Could not pass event CUSTOM_EVENT to ecoCreature
Author: ScottSpittle
Created: 2011-12-04 11:10:32+00:00
State: open

Why do i get this?!
I use GroupManager not permisionsEX

20:03:58 [SEVERE] Could not pass event CUSTOM_EVENT to ecoCreature
java.lang.NullPointerException
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.playerHas(Permission_PermissionsEx.java:90)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.has(Permission_PermissionsEx.java:85)
at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.hasPermission(ecoRewardManager.java:283)
at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerCreatureDeath(ecoRewardManager.java:138)
at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onCreatureKilledByPlayer(ecoDeathListener.java:22)
at se.crafted.chrisb.ecoCreature.listeners.DeathEventsListener.onCustomEvent(DeathEventsListener.java:27)
at org.bukkit.plugin.java.JavaPluginLoader$96.execute(JavaPluginLoader.java:934)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:41)
at org.bukkit.plugin.java.JavaPluginLoader$64.execute(JavaPluginLoader.java:707)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:629)
at net.minecraft.server.EntityLiving.die(EntityLiving.java:604)
at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:500)
at net.minecraft.server.EntityAnimal.damageEntity(SourceFile:143)
at net.minecraft.server.EntityHuman.f(EntityHuman.java:793)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)