DiabloDrops

DiabloDrops

41.7k Downloads

Commented Stacktrace. SetListener Build #193

deathmarine opened this issue ยท 2 comments

commented
17:52:47 [SEVERE] Could not pass event EntityDamageEvent to DiabloDrops v2.0
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 fr.neatmonster.nocheatplus.checks.moving.NoFall.dealFallDamage(NoFall.java:75)
    at fr.neatmonster.nocheatplus.checks.moving.NoFall.handleOnGround(NoFall.java:68)
    at fr.neatmonster.nocheatplus.checks.moving.NoFall.check(NoFall.java:149)
    at fr.neatmonster.nocheatplus.checks.moving.MovingListener.onPlayerMove(MovingListener.java:392)
    at sun.reflect.GeneratedMethodAccessor208.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at fr.neatmonster.nocheatplus.event.GenericListener.execute(GenericListener.java:102)
    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.NetServerHandler.a(NetServerHandler.java:218)
    at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:70)
    at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:70)
    at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:290)
    at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113)
    at net.minecraft.server.ServerConnection.b(SourceFile:39)
    at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:596)
    at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:494)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NullPointerException
    at com.modcrafting.diablodrops.listeners.SetListener.onEntityDamageByEntity(SetListener.java:75)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
    ... 27 more
commented

We will continue testing however I believe the issue was that Sets can be an "ArmorSet" with Null Bonus's from the config.

commented

Commit fixed this issue.