quick fix description error

This commit is contained in:
ajgeiss0702
2021-08-24 15:40:19 -07:00
parent 4482da3629
commit e43967ecb4
@@ -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