126127128129130131132133134135136
if (IGUI.getClass() == MainView.class) mView = (MainView) IGUI; } } if( mView != null ) mView.dispose(); break; case SERVER_KickUser: MainView mView2 = null; if (me != null) { for (GUIEventInterface IGUI : algui) {
137138139140141142143144145146147
if (IGUI.getClass() == MainView.class) mView2 = (MainView) IGUI; } } if( mView2 != null ) mView2.dispose(); break; default: // TODO log unknown packet break; }