mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-18 08:15:12 +01:00
Add a check
This commit is contained in:
parent
8fecbe3f3c
commit
59273ab1c1
@ -388,7 +388,7 @@ public class AuthMePlayerListener implements Listener {
|
||||
|
||||
if (!lowname.equals(name)) {
|
||||
// Little workaround to be sure registered player is the same as this
|
||||
if (player.hasPlayedBefore())
|
||||
if (player.hasPlayedBefore() && !player.isOnline())
|
||||
// Make sure it's the correct player
|
||||
if (data.isAuthAvailable(lowname))
|
||||
if (data.getAuth(lowname).getIp().equalsIgnoreCase(player.getAddress().getAddress().getHostAddress()))
|
||||
|
Loading…
Reference in New Issue
Block a user