Optimises
This commit is contained in:
parent
11a4cff10a
commit
73c3cea778
@ -429,7 +429,8 @@ public class AuthMe extends JavaPlugin {
|
|||||||
getLogger().log(Level.INFO, "You are running the latest version.");
|
getLogger().log(Level.INFO, "You are running the latest version.");
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
getLogger().log(Level.WARNING, "Error occurred while checking updates from GitHub. Reason: " + e.getMessage());
|
String formattedException = ExceptionUtils.formatException(e);
|
||||||
|
getLogger().log(Level.WARNING, "Error occurred while checking updates from GitHub. Reason: " + formattedException);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,6 +37,7 @@ import static org.bukkit.Bukkit.getServer;
|
|||||||
public class GuiCaptchaHandler implements Listener{
|
public class GuiCaptchaHandler implements Listener{
|
||||||
//define AuthMeApi
|
//define AuthMeApi
|
||||||
private final AuthMeApi authmeApi = AuthMeApi.getInstance();
|
private final AuthMeApi authmeApi = AuthMeApi.getInstance();
|
||||||
|
|
||||||
private final Plugin plugin;
|
private final Plugin plugin;
|
||||||
private PacketAdapter chatPacketListener;
|
private PacketAdapter chatPacketListener;
|
||||||
private PacketAdapter windowPacketListener;
|
private PacketAdapter windowPacketListener;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user