model baking: reverse elements

Now the grass overlay is properly shown
This commit is contained in:
Moritz Zwerger 2023-12-16 01:19:23 +01:00
parent 206fcef5e1
commit 16e465a122
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -24,7 +24,7 @@ object BakingUtil {
val array: Array<Array<T>?> = arrayOfNulls(size)
for ((index, entries) in this.withIndex()) {
array[index] = entries.toTypedArray()
array[index] = entries.toTypedArray().reversedArray()
}
return array.cast()