Fix: Client.getTexturePreview
get Preview instead of File
This commit is contained in:
		@ -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")
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user