Fix: Client.getTexturePreview
get Preview instead of File
This commit is contained in:
parent
3e5d2da366
commit
189b1955d7
|
@ -192,7 +192,7 @@ class Connection(val address: InetAddress, val port: Int = 10796) : Closeable {
|
|||
val io = getStreams()
|
||||
|
||||
val obj = JsonObject()
|
||||
obj.add("get_texture_file", {
|
||||
obj.add("get_texture_preview", {
|
||||
val inner = JsonObject()
|
||||
inner.addProperty("texture_hash", hash.toString())
|
||||
inner.addProperty("desired_format", "jpeg")
|
||||
|
|
Loading…
Reference in New Issue