Merge commit 'ee7fbae' into resize
This commit is contained in:
commit
6fbfa050b3
@ -30,7 +30,7 @@ internal data class InternalTexture(
|
|||||||
resolution = arrayOf(tex.resolution.first, tex.resolution.second),
|
resolution = arrayOf(tex.resolution.first, tex.resolution.second),
|
||||||
added_on = arrayOf(
|
added_on = arrayOf(
|
||||||
tex.addedOn.get(Calendar.YEAR), //
|
tex.addedOn.get(Calendar.YEAR), //
|
||||||
tex.addedOn.get(Calendar.MONTH), //
|
tex.addedOn.get(Calendar.MONTH) + 1, //
|
||||||
tex.addedOn.get(Calendar.DAY_OF_MONTH)
|
tex.addedOn.get(Calendar.DAY_OF_MONTH)
|
||||||
),
|
),
|
||||||
texture_hash = tex.textureHash.toString()
|
texture_hash = tex.textureHash.toString()
|
||||||
@ -50,7 +50,7 @@ internal data class InternalTexture(
|
|||||||
else -> throw ConnectionInvalidJsonException()
|
else -> throw ConnectionInvalidJsonException()
|
||||||
},
|
},
|
||||||
resolution = Pair(resolution[0], resolution[1]),
|
resolution = Pair(resolution[0], resolution[1]),
|
||||||
addedOn = GregorianCalendar(added_on[0], added_on[1], added_on[2]),
|
addedOn = GregorianCalendar(added_on[0], added_on[1] - 1, added_on[2]),
|
||||||
textureHash = Sha256(texture_hash)
|
textureHash = Sha256(texture_hash)
|
||||||
)
|
)
|
||||||
} catch (e: Exception) { // i Know, but no time :[]
|
} catch (e: Exception) { // i Know, but no time :[]
|
||||||
|
Loading…
Reference in New Issue
Block a user