Use new Gui API for GuiLoginPrompt and GuiRegister
This commit is contained in:
@@ -142,7 +142,7 @@ public class GuiUploadFile extends GuiScreen implements ProgressUpdateListener {
|
||||
}
|
||||
|
||||
if(!AuthenticationHandler.isAuthenticated()) {
|
||||
mc.displayGuiScreen(new GuiLoginPrompt(parent, this));
|
||||
mc.displayGuiScreen(new GuiLoginPrompt(parent, this).toMinecraft());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user