Fix
build / build (push) Successful in 3m48s

This commit is contained in:
ciomek committed 2026-08-16 23:44:22 +02:00
1 parent f04d2c3260
commit d0f9791b20
1 file changed
+7
@@ -146,6 +146,8 @@ public class MQTTClient {
Matcher matcher = pattern.matcher(topic); Matcher matcher = pattern.matcher(topic);
if (matcher.matches()) if (matcher.matches())
{
try
{ {
int xStart = Integer.parseInt(matcher.group(1)); int xStart = Integer.parseInt(matcher.group(1));
int xEnd = Integer.parseInt(matcher.group(2)); int xEnd = Integer.parseInt(matcher.group(2));
@@ -156,6 +158,11 @@ public class MQTTClient {
RequestManager.addRequest(request); RequestManager.addRequest(request);
} }
catch (NumberFormatException e)
{
}
}
if (topic.equals("loon/server/info/request")) { if (topic.equals("loon/server/info/request")) {
RequestManager.addRequest(new ServerInfoRequest()); RequestManager.addRequest(new ServerInfoRequest());