mirror of https://github.com/kami-blue/client
[cleanup] Fix formatting
Ooops, I missed that when merging on a phone
This commit is contained in:
parent
89e044200d
commit
1047896bea
|
@ -31,6 +31,7 @@ class KamiGuiAntiDisconnect : GuiScreen() {
|
||||||
button.displayString = buttonText
|
button.displayString = buttonText
|
||||||
} else {
|
} else {
|
||||||
button.enabled = false
|
button.enabled = false
|
||||||
|
|
||||||
when {
|
when {
|
||||||
mc.isIntegratedServerRunning -> {
|
mc.isIntegratedServerRunning -> {
|
||||||
mc.displayGuiScreen(GuiWorldSelection(GuiMainMenu()))
|
mc.displayGuiScreen(GuiWorldSelection(GuiMainMenu()))
|
||||||
|
@ -42,6 +43,7 @@ class KamiGuiAntiDisconnect : GuiScreen() {
|
||||||
mc.displayGuiScreen(GuiMultiplayer(GuiMainMenu()))
|
mc.displayGuiScreen(GuiMultiplayer(GuiMainMenu()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mc.world.sendQuittingDisconnectingPacket()
|
mc.world.sendQuittingDisconnectingPacket()
|
||||||
mc.loadWorld(null)
|
mc.loadWorld(null)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue