vik1395 / BungeeAuth-Minecraft

[Minecraft] A Player Authentication plugin for Bungee Servers
https://www.spigotmc.org/resources/bungeeauth.493/
Other
2 stars 14 forks source link

Error #15

Open EnderCraft202 opened 7 years ago

EnderCraft202 commented 7 years ago

http://pastebin.com/kjn4pCFM

Bloodrayne1995 commented 6 years ago

We have got the same error. I look up the code and I got the reason of this. If you set the guest session length to 0 in the config the ListenerClass would not put a Task in the prelogin-Hashmap (see here: https://github.com/vik1395/BungeeAuth-Minecraft/blob/master/src/me/vik1395/BungeeAuth/ListenerClass.java at line 214)

The login command wants to get this task. But this will fail into a NullPointerException (see here https://github.com/vik1395/BungeeAuth-Minecraft/blob/master/src/me/vik1395/BungeeAuth/Login.java at line 163).

I commited a change (See here https://github.com/vik1395/BungeeAuth-Minecraft/pull/26). I hope the author will merge it.

Regards Bloodrayne1995