Server Connect Event
Feerko opened this issue ยท 0 comments
I'm using Player Balance.
[12:59:28 WARN] [global]: Error dispatching event ServerConnectEvent(player=fighty_, target=BungeeServerInfo(name=bedwars-1, address=s2.feerko.pl/151.80.111.215:20251, restricted=false), cancelled=false) to listener com.github.games647.changeskin.bungee.listener.ServerSwitchListener@3a4ddaed
java.lang.NullPointerException: null
at com.github.games647.changeskin.bungee.listener.ServerSwitchListener.onServerConnect(ServerSwitchListener.java:27) ~[?:?]
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141]
at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at net.md_5.bungee.event.EventBus.post(EventBus.java:46) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:411) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at net.md_5.bungee.UserConnection.connect(UserConnection.java:250) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at net.md_5.bungee.UserConnection.connect(UserConnection.java:242) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at net.md_5.bungee.connection.InitialHandler$6$1.run(InitialHandler.java:528) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [Waterfall.jar:git:Waterfall-Bootstrap:1.12-SNAPSHOT:5660854:160]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]