make sure server ping is null if the server isnt online
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ public class BungeeServerPing implements AdaptedServerPing {
|
||||
@Override
|
||||
public String getPlainDescription() {
|
||||
BaseComponent desc = handle.getDescriptionComponent();
|
||||
if(desc == null) return "";
|
||||
if(desc == null) return null;
|
||||
return desc.toPlainText();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user