mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-21 11:54:22 +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(() -> {
|
return CompletableFuture.runAsync(() -> {
|
||||||
try {
|
try {
|
||||||
gateway.performSkinUpload(new SkinUpload(mc.getSession(), skinType, localSkin == null ? null : localSkin.toURI(), skinMetadata));
|
gateway.performSkinUpload(new SkinUpload(mc.getSession(), skinType, localSkin == null ? null : localSkin.toURI(), skinMetadata));
|
||||||
setError("");
|
setError(null);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
handleException(e);
|
handleException(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue