quick fix description error
This commit is contained in:
+3
-1
@@ -23,7 +23,9 @@ public class BungeeServerPing implements AdaptedServerPing {
|
||||
|
||||
@Override
|
||||
public String getPlainDescription() {
|
||||
return handle.getDescriptionComponent().toPlainText();
|
||||
BaseComponent desc = handle.getDescriptionComponent();
|
||||
if(desc == null) return "";
|
||||
return desc.toPlainText();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user