Fix column arguments being swapped

This commit is contained in:
DBotThePony 2025-02-08 00:24:33 +07:00
parent a0f605c396
commit d1e14ddde6
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -80,14 +80,14 @@ class MatteryBlockModelProvider(event: GatherDataEvent) : BlockModelProvider(eve
}
}
fun column(block: Block, end: String, side: String) {
fun column(block: Block, side: String, end: String) {
exec {
cubeColumn(block.registryName!!.path, modLocation(end), modLocation(side))
cubeColumn(block.registryName!!.path, modLocation(side), modLocation(end))
}
}
fun decorativeColumn(it: Block, end: String, side: String) {
column(it, "block/decorative/$end", "block/decorative/$side")
fun decorativeColumn(it: Block, side: String, end: String) {
column(it, "block/decorative/$side", "block/decorative/$end")
}
fun resourceCubeAll(vararg blocks: Block) {