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