fix: fix mcping when no favicon throw exception
This commit is contained in:
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,
|
||||
|
||||
Reference in New Issue
Block a user