mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fix other logic error in legacy
This commit is contained in:
parent
ea3971dd50
commit
a72fdfdf7f
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ public class LegacySkinServer implements SkinServer {
|
||||||
if (response.startsWith("ERROR: ")) {
|
if (response.startsWith("ERROR: ")) {
|
||||||
response = response.substring(7);
|
response = response.substring(7);
|
||||||
}
|
}
|
||||||
if (!response.equalsIgnoreCase("OK") || !response.endsWith("OK"))
|
if (!response.equalsIgnoreCase("OK") && !response.endsWith("OK"))
|
||||||
throw new IOException(response);
|
throw new IOException(response);
|
||||||
return new SkinUploadResponse(response);
|
return new SkinUploadResponse(response);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue