LukeDarling / EasyAuth

A PocketMine plugin.
6 stars 1 forks source link

Unauthenticated duplicate players attempting to join deauthenticate the original authenticated player #2

Open LukeDarling opened 8 years ago

LukeDarling commented 8 years ago

The title is pretty clear.

LukeDarling commented 8 years ago

@PEMapModder Got any ideas?

PEMapModder commented 8 years ago

Look at HereAuth EventRouter.php :P

LukeDarling commented 8 years ago

I took a look, but I don't see anything that will help me with this right off. 😝 I'm not even sure what's going wrong, I just know that if someone tries to join as a player who's already online, it kicks the new player as it should, but it also sets the online player as unauthenticated.

PEMapModder commented 8 years ago

https://github.com/PEMapModder/HereAuth/blob/master/src/HereAuth/EventRouter.php#L85

LukeDarling commented 8 years ago

https://github.com/LDX-MCPE/EasyAuth/blob/master/src/LDX/EasyAuth/Main.php#L185