Fix part of protocol but still bugged

pull/1/head
Louis Royer 5 years ago
parent cfadde72f2
commit b4927e1994

@ -113,7 +113,7 @@ public class ClientManagementUDP implements Runnable {
try {
String r[] = response.split("\n");
checkProtocolID(r[0]);
return response.split(protocolID + "\nLOAD \n")[1];
return response.split(protocolID + "\nLIST\n")[1];
} catch (java.lang.ArrayIndexOutOfBoundsException e) {
throw new ProtocolError();
}

Loading…
Cancel
Save