stop CLI UIs after client thread has been stopped
This commit is contained in:
committed by
Sheepit Renderfarm
parent
aef9ccc034
commit
45c23f4808
@@ -88,6 +88,8 @@ public class GuiText implements Gui {
|
|||||||
client.run();
|
client.run();
|
||||||
client.stop();
|
client.stop();
|
||||||
}
|
}
|
||||||
|
// stop if there is no client or client has been stopped
|
||||||
|
this.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void stop() {
|
@Override public void stop() {
|
||||||
|
|||||||
@@ -100,6 +100,8 @@ public class GuiTextOneLine implements Gui {
|
|||||||
client.run();
|
client.run();
|
||||||
client.stop();
|
client.stop();
|
||||||
}
|
}
|
||||||
|
// stop if there is no client or client has been stopped
|
||||||
|
this.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void stop() {
|
@Override public void stop() {
|
||||||
|
|||||||
Reference in New Issue
Block a user