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
+13 -6
+13 -6
View File
@@ -147,14 +147,21 @@ public class MQTTClient {
if (matcher.matches()) if (matcher.matches())
{ {
int xStart = Integer.parseInt(matcher.group(1)); try
int xEnd = Integer.parseInt(matcher.group(2)); {
int zStart = Integer.parseInt(matcher.group(3)); int xStart = Integer.parseInt(matcher.group(1));
int zEnd = Integer.parseInt(matcher.group(4)); int xEnd = Integer.parseInt(matcher.group(2));
int zStart = Integer.parseInt(matcher.group(3));
int zEnd = Integer.parseInt(matcher.group(4));
ChunkMapRequest request = new ChunkMapRequest(xStart, xEnd, zStart, zEnd); ChunkMapRequest request = new ChunkMapRequest(xStart, xEnd, zStart, zEnd);
RequestManager.addRequest(request); RequestManager.addRequest(request);
}
catch (NumberFormatException e)
{
}
} }
if (topic.equals("loon/server/info/request")) { if (topic.equals("loon/server/info/request")) {