Could not pass PlayerDeathEvent #11


  • New
  • Defect
Open
Assigned to codfishimus
  • _ForgeUser6882076 created this issue Jun 27, 2012

    I'm not sure what happened, but I know that the killer had a LOT of enchantments and diamonds.

    It worked correctly, but there was an error produced

    I am using the latest version

    Here's the error log:
    2012-06-27 17:30:52 [SEVERE] Could not pass event PlayerDeathEvent to PvPReward
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:322)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:173)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:677)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:215)
        at net.minecraft.server.Entity.aA(Entity.java:348)
        at net.minecraft.server.EntityLiving.aA(EntityLiving.java:264)
        at net.minecraft.server.Entity.F_(Entity.java:268)
        at net.minecraft.server.EntityLiving.F_(EntityLiving.java:435)
        at net.minecraft.server.EntityHuman.F_(EntityHuman.java:159)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:228)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:341)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
        at net.milkbowl.vault.permission.Permission.has(Permission.java:101)
        at com.codisimus.plugins.pvpreward.PvPReward.hasPermisson(PvPReward.java:212)
        at com.codisimus.plugins.pvpreward.Rewarder.rewardPvP(Rewarder.java:79)
        at com.codisimus.plugins.pvpreward.PvPRewardListener.onEntityDeath(PvPRewardListener.java:98)
        at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
        ... 21 more

    I'm okay if you can't fix it!

    And please add Multi-World support.

  • _ForgeUser6882076 added the tags New Defect Jun 27, 2012

To post a comment, please login or register a new account.