Change response for Minecraft servers
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 25s
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 25s
This commit is contained in:
parent
d6a21fd5a3
commit
3f1290fd07
@ -24,6 +24,7 @@
|
||||
package me.braydon.mc.model.cache;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonUnwrapped;
|
||||
import lombok.*;
|
||||
import me.braydon.mc.model.MinecraftServer;
|
||||
import org.springframework.data.annotation.Id;
|
||||
@ -45,7 +46,7 @@ public final class CachedMinecraftServer implements Serializable {
|
||||
/**
|
||||
* The cached server.
|
||||
*/
|
||||
@NonNull private final MinecraftServer value;
|
||||
@JsonUnwrapped @NonNull private final MinecraftServer value;
|
||||
|
||||
/**
|
||||
* The unix timestamp of when this
|
||||
|
Loading…
Reference in New Issue
Block a user