PlayerQuitEvent
madtomic opened this issue ยท 0 comments
[23:43:36 ERROR]: Could not pass event PlayerQuitEvent to McCombatLevel v1.7.2
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:302) ~[spigot1627.jar:git-Spigot-1627]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62) ~[spigot1627.jar:git-Spigot-1627]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:502) [spigot1627.jar:git-Spigot-1627]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:487) [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.PlayerList.disconnect(PlayerList.java:32
- [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java
:738) [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java
:77) [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:7 - [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:2 - [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:5 - [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java
:490) [spigot1627.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6 - [spigot1627.jar:git-Spigot-1627]
Caused by: java.lang.NullPointerException
at com.gmail.mrphpfan.mccombatlevel.McCombatLevel.removeCachedLevels(McC
ombatLevel.java:141) ~[?:?]
at com.gmail.mrphpfan.mccombatlevel.PlayerListener.onPlayerLogout(Player
Listener.java:50) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_31]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_31]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_31]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:298) ~[spigot1627.jar:git-Spigot-1627]
... 11 more