mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-02-20 02:22:35 +01:00
Don't try to bihosting again if failed
This commit is contained in:
parent
e88f75c82a
commit
8ed27e8bd6
@ -38,12 +38,13 @@ public class BisectHosting {
|
||||
}
|
||||
|
||||
if (claimedHosted != hostedBy || !DisguiseConfig.getSavedServerIp().equals(parsedIP)) {
|
||||
DisguiseConfig.setBisectHosted(hostedBy, Bukkit.getIp());
|
||||
DisguiseConfig.setBisectHosted(hostedBy, parsedIP);
|
||||
}
|
||||
|
||||
if (!hostedBy && !DisguiseConfig.getSavedServerIp().equals("")) {
|
||||
// Just a small message for those who tried to enable it
|
||||
LibsDisguises.getInstance().getLogger().severe("Check for BisectHosting failed! Connection error?");
|
||||
DisguiseConfig.setBisectHosted(hostedBy, parsedIP);
|
||||
}
|
||||
|
||||
return hostedBy;
|
||||
|
Loading…
Reference in New Issue
Block a user