From e2a2a8479b7242a9b6e8ed5d949d30d70a8667e6 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 23 Jan 2022 17:51:54 +0700 Subject: [PATCH] Fix X rotation --- src/data/kotlin/ru/dbotthepony/mc/otm/datagen/Ext.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/Ext.kt b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/Ext.kt index f0e6226e5..681c5dc7f 100644 --- a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/Ext.kt +++ b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/Ext.kt @@ -20,8 +20,8 @@ fun Direction.toYRotBlockstate(): Int { fun Direction.toXRotBlockstate(): Int { return when (this) { - Direction.DOWN -> -90 - Direction.UP -> 90 + Direction.DOWN -> 90 + Direction.UP -> -90 Direction.NORTH -> 0 Direction.SOUTH -> 0 Direction.WEST -> 0