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