Fix part of protocol but still bugged

This commit is contained in:
Louis Royer 2020-01-15 21:57:48 +01:00
parent cfadde72f2
commit b4927e1994

View File

@ -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();
}