Merge pull request #25 from DeadlyMC/patch

Fix block placement directions
This commit is contained in:
gnembon authored and GitHub committed 2019-06-04 13:30:31 -03:00
commit 22d14d4ba7
1 file changed
+2 -2
@@ -16,11 +16,11 @@ public abstract class DirectionMixin
{ {
if (!CarpetSettings.getBool("placementRotationFix")) if (!CarpetSettings.getBool("placementRotationFix"))
{ {
return -entity.getYaw(1.0F) * 0.017453292F; return entity.getYaw(1.0F);
} }
else else
{ {
return -((EntityInterface) entity).getMainYaw(1.0F) * 0.017453292F; return ((EntityInterface) entity).getMainYaw(1.0F);
} }
} }
} }