Fix X rotation

This commit is contained in:
DBotThePony 2022-01-23 17:51:54 +07:00
parent a3c646c4b7
commit e2a2a8479b
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -20,8 +20,8 @@ fun Direction.toYRotBlockstate(): Int {
fun Direction.toXRotBlockstate(): Int { fun Direction.toXRotBlockstate(): Int {
return when (this) { return when (this) {
Direction.DOWN -> -90 Direction.DOWN -> 90
Direction.UP -> 90 Direction.UP -> -90
Direction.NORTH -> 0 Direction.NORTH -> 0
Direction.SOUTH -> 0 Direction.SOUTH -> 0
Direction.WEST -> 0 Direction.WEST -> 0