mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-08 03:29:41 +01:00
Little fix (prev commit)
This commit is contained in:
parent
705cc7ba8d
commit
a5956555a5
@ -864,6 +864,8 @@ public class AuthMe extends JavaPlugin {
|
||||
@Override
|
||||
public void run() {
|
||||
String realIP = player.getAddress().getAddress().getHostAddress();
|
||||
if (realIp.containsKey(name))
|
||||
realIP = realIp.get(name);
|
||||
String sUrl = "http://monitor-1.verygames.net/api/?action=ipclean-real-ip&out=raw&ip=%IP%&port=%PORT%";
|
||||
sUrl = sUrl.replace("%IP%", realIP)
|
||||
.replace("%PORT%", "" + player.getAddress().getPort());
|
||||
|
Loading…
Reference in New Issue
Block a user