Not Compatible with Minecraft 1.7.2
medemi68 opened this issue ยท 6 comments
This is the error i get trying to use it with 1.7.2
[18:13:12] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to MCTowns v2.3.0-LTS
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[spigot.jar:git-Spigot-1202]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1202]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot.jar:git-Spigot-1202]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [spigot.jar:git-Spigot-1202]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.PlayerList.c(PlayerList.java:225) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.PlayerList.a(PlayerList.java:116) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.LoginListener.c(LoginListener.java:87) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.LoginListener.a(LoginListener.java:42) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:150) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:657) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:259) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [spigot.jar:git-Spigot-1202]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1202]
Caused by: java.lang.NullPointerException
at net.jmhertlein.mctowns.listeners.MCTPlayerListener.onPlayerJoinAddToDefaultTown(MCTPlayerListener.java:251) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_45]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[spigot.jar:git-Spigot-1202]
... 15 more
@crunkazcanbe Are you using the latest version of MCTowns? You seem to be experiencing an issue that was only present (to my knowledge) in RC2 of 2.3.0.
The latest version of MCTowns is here: http://dev.bukkit.org/bukkit-plugins/mctowns/files/48-mctowns-v2-3-0-lts/
Agreed. I am running LTS I believe and It's working fine on Spigot, which is what looks like you are running. You're on 1202, which I updated to as well this morning.
@medemi68 Can you post any error logs you have that suggest that MCTowns isn't compatible with 1.7.x?