Use new Gui API for GuiLoginPrompt and GuiRegister

This commit is contained in:
johni0702
2015-07-08 16:18:46 +02:00
parent db8b5a9be0
commit d4e04feaeb
5 changed files with 215 additions and 373 deletions

View File

@@ -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;
}