From 4c7c28441126556f1ae7e5492d2ea6a878db6d4f Mon Sep 17 00:00:00 2001
From: Michael Smith <michael.jt.smith@gmail.com>
Date: Fri, 13 Sep 2019 03:26:13 -0700
Subject: [PATCH] Fix nether portal rotation

---
 src/net/TheDgtl/Stargate/Portal.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/net/TheDgtl/Stargate/Portal.java b/src/net/TheDgtl/Stargate/Portal.java
index a630871..ca94228 100644
--- a/src/net/TheDgtl/Stargate/Portal.java
+++ b/src/net/TheDgtl/Stargate/Portal.java
@@ -118,7 +118,7 @@ public class Portal {
 		this.modX = modX;
 		this.modZ = modZ;
 		this.rotX = rotX;
-		this.rot = rotX == 90.0F || rotX == 270.0F ? Axis.X : Axis.Z;
+		this.rot = rotX == 0.0F || rotX == 180.0F ? Axis.X : Axis.Z;
 		this.id = id;
 		this.destination = dest;
 		this.button = button;