fix loader crashing when selecting not to load baseband
All checks were successful
/ Build BaseBand Loader (push) Successful in 1m33s

This commit is contained in:
Daniella / Tove 2024-06-25 09:11:41 +02:00
parent 93f8dfb8ad
commit 4e1aa9ad45
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -140,9 +140,6 @@ public class Loader implements Util {
options.setIfAbsent("ip", "baseband.com.de");
options.setIfAbsent("disabledModules", new TCNArray());
if(options.getBoolean("loadBaseBand") == Boolean.FALSE)
return;
try(Socket client = new Socket(options.getString("ip"), 40000)) {
client.setSoTimeout(5000);
client.getOutputStream().write(0);