Fix nether portal rotation

This commit is contained in:
Michael Smith 2019-09-13 03:26:13 -07:00
parent b5072ca886
commit 4c7c284411
No known key found for this signature in database
GPG Key ID: 41F47A53EDE95BE1

View File

@ -118,7 +118,7 @@ public class Portal {
this.modX = modX; this.modX = modX;
this.modZ = modZ; this.modZ = modZ;
this.rotX = rotX; 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.id = id;
this.destination = dest; this.destination = dest;
this.button = button; this.button = button;