diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt index 1838b99..1ce1531 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/net/Connection.kt @@ -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")