Fix: Client.getTexturePreview

get Preview instead of File
This commit is contained in:
CodeSteak 2019-06-03 18:55:23 +02:00
parent 3e5d2da366
commit 189b1955d7
1 changed files with 1 additions and 1 deletions

View File

@ -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")