()
| 481 | } |
| 482 | |
| 483 | @Override |
| 484 | public void disconnectFromWorld() { |
| 485 | boolean isOnIntegratedServer = getMinecraft().E(); |
| 486 | boolean isConnectedToRealms = getMinecraft().al(); |
| 487 | if (getWorld() != null) { |
| 488 | getWorld().H(); |
| 489 | } |
| 490 | getMinecraft().a((bdb) null); |
| 491 | if (isOnIntegratedServer) { |
| 492 | displayScreen(new aya()); |
| 493 | } else if (isConnectedToRealms) { |
| 494 | RealmsBridge realmsBridge = new RealmsBridge(); |
| 495 | realmsBridge.switchToRealms(new aya()); |
| 496 | } else { |
| 497 | displayScreen(new azh(new aya())); |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | @Override |
| 502 | public IServerPinger getServerPinger() { |
nothing calls this directly
no test coverage detected