|
@@ -194,7 +194,7 @@ public final class LagDisplayPlugin extends Plugin implements ActionListener, Co
|
194
|
194
|
panel.refreshDialog();
|
195
|
195
|
} else if (type.equals(CoreActionType.CLIENT_FRAME_CHANGED)) {
|
196
|
196
|
final FrameContainer source = (FrameContainer) arguments[0];
|
197
|
|
- if (source.getServer() == null) {
|
|
197
|
+ if (source == null || source.getServer() == null) {
|
198
|
198
|
panel.setText("Unknown");
|
199
|
199
|
} else if (source.getServer().getState() != ServerState.CONNECTED) {
|
200
|
200
|
panel.setText("Not connected");
|