mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-01-10 19:58:03 +01:00
improved BetaCraft error screen
This commit is contained in:
parent
196b9c0261
commit
c31a77be0a
@ -80,7 +80,7 @@ public class ProtocolSelectionScreen extends Screen {
|
||||
if (BetaCraftScreen.SERVER_LIST == null) {
|
||||
CompletableFuture.runAsync(() -> BetacraftServerList.getFuture().whenComplete((betacraftServerList, throwable) -> {
|
||||
if (throwable != null) {
|
||||
MinecraftClient.getInstance().execute(() -> MinecraftClient.getInstance().setScreen(new NoticeScreen(() -> RenderSystem.recordRenderCall(() -> client.setScreen(BetaCraftScreen.get(this))), Text.literal("Microsoft Bedrock login"), Text.translatable("betacraft.viafabricplus.error"), Text.translatable("words.viafabricplus.cancel"), false)));
|
||||
MinecraftClient.getInstance().execute(() -> MinecraftClient.getInstance().setScreen(new NoticeScreen(() -> RenderSystem.recordRenderCall(() -> client.setScreen(this)), Text.literal("Betacraft"), Text.translatable("betacraft.viafabricplus.error").append("\n" + throwable.getMessage()), Text.translatable("words.viafabricplus.cancel"), false)));
|
||||
return;
|
||||
}
|
||||
BetaCraftScreen.SERVER_LIST = betacraftServerList;
|
||||
|
Loading…
Reference in New Issue
Block a user