When initially asked to Log in, rename "Cancel" to "Skip" button to indicate that the user doesn't have to log in in order to use the mod
This commit is contained in:
@@ -46,7 +46,7 @@ public class GuiEventHandler {
|
||||
if(ReplayMod.firstMainMenu) {
|
||||
ReplayMod.firstMainMenu = false;
|
||||
if(!AuthenticationHandler.isAuthenticated()) {
|
||||
event.gui = new GuiLoginPrompt(event.gui, event.gui).toMinecraft();
|
||||
event.gui = new GuiLoginPrompt(event.gui, event.gui, false).toMinecraft();
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
@@ -179,7 +179,7 @@ public class GuiEventHandler {
|
||||
if(AuthenticationHandler.isAuthenticated()) {
|
||||
mc.displayGuiScreen(new GuiReplayCenter());
|
||||
} else {
|
||||
mc.displayGuiScreen(new GuiLoginPrompt(event.gui, new GuiReplayCenter()).toMinecraft());
|
||||
mc.displayGuiScreen(new GuiLoginPrompt(event.gui, new GuiReplayCenter(), true).toMinecraft());
|
||||
}
|
||||
} else if(event.button.id == GuiConstants.REPLAY_EDITOR_BUTTON_ID) {
|
||||
mc.displayGuiScreen(new GuiReplayEditor());
|
||||
|
||||
Reference in New Issue
Block a user