Arcade fix! Now its possible to run the server
This commit is contained in:
@ -217,6 +217,8 @@ public class TwoFactorAuth extends MiniClientPlugin<TwoFactorData>
|
||||
|
||||
TwoFactorData data = Get(player);
|
||||
|
||||
/*
|
||||
|
||||
if (data.getLastLoginIp().isPresent() && player.getAddress().getAddress().toString().substring(1).equals(data.getLastLoginIp().get()))
|
||||
{
|
||||
player.sendMessage(F.main("2FA", "Authenticated"));
|
||||
@ -237,17 +239,20 @@ public class TwoFactorAuth extends MiniClientPlugin<TwoFactorData>
|
||||
runSync(() -> setup2FA(event.getPlayer()));
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onQuit(PlayerQuitEvent event)
|
||||
{
|
||||
/*
|
||||
Player player = event.getPlayer();
|
||||
if (setupData.remove(player.getUniqueId()) != null)
|
||||
{
|
||||
player.setItemInHand(null);
|
||||
}
|
||||
authenticating.remove(player.getUniqueId());
|
||||
*/
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
|
Reference in New Issue
Block a user