mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Fix servers not loading properly
This commit is contained in:
parent
ef54d8c959
commit
c4b1faaaf6
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
|
||||
package org.geysermc.connect.utils;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -71,6 +72,7 @@ public class Server {
|
|||
return name != null ? name : address + (getPort() != defaultPort() ? ":" + getPort() : "");
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public FormImage getFormImage() {
|
||||
if (imageUrl != null && !imageUrl.isEmpty()) {
|
||||
return new FormImage(FormImage.FormImageType.URL, imageUrl);
|
||||
|
|
Loading…
Add table
Reference in a new issue