fix: fix mcping when no favicon throw exception

This commit is contained in:
2024-09-03 16:50:05 +08:00
parent 40aceb0b9d
commit e6255f93eb
2 files changed
+9 -12

No files matched your search

@@ -10,7 +10,7 @@ package cn.rtast.fancybot.entity
data class MCPingResponse(
val version: Version,
val players: Players,
val favicon: String
val favicon: String?
) {
data class Version(
val protocol: Int,