mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-19 19:04:23 +01:00
Properly clear the error state after uploading
This commit is contained in:
parent
35eea7aa3a
commit
652e3247a3
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ public class SkinUploader implements Closeable {
|
|||
return CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
gateway.performSkinUpload(new SkinUpload(mc.getSession(), skinType, localSkin == null ? null : localSkin.toURI(), skinMetadata));
|
||||
setError("");
|
||||
setError(null);
|
||||
} catch (Exception e) {
|
||||
handleException(e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue