mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 14:27:59 +01:00
Translate the status message from the uploader
This commit is contained in:
parent
baa5982889
commit
3b27044f6c
1 changed files with 2 additions and 2 deletions
|
@ -339,7 +339,7 @@ public class GuiSkins extends GameGui implements ISkinUploadHandler {
|
|||
|
||||
drawRect(0, 0, width, height, opacity);
|
||||
|
||||
String errorMsg = uploader.getStatusMessage();
|
||||
String errorMsg = format(uploader.getStatusMessage());
|
||||
|
||||
if (uploadInProgress) {
|
||||
drawCenteredString(fontRenderer, errorMsg, width / 2, height / 2, 0xffffff);
|
||||
|
@ -423,7 +423,7 @@ public class GuiSkins extends GameGui implements ISkinUploadHandler {
|
|||
}
|
||||
|
||||
private void punchServer(String uploadMsg) {
|
||||
uploader.uploadSkin(format(uploadMsg)).handle(CallableFutures.callback(this::updateButtons));
|
||||
uploader.uploadSkin(uploadMsg).handle(CallableFutures.callback(this::updateButtons));
|
||||
|
||||
updateButtons();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue