We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24aae92 commit 095d92fCopy full SHA for 095d92f
MCMaps/Red Window/Views/Detail/Cells/RedWindowPositionCell.swift
@@ -71,9 +71,9 @@ struct RedWindowPositionCell: RedWindowDetailCell {
71
private var alternatePosition: CGPoint {
72
switch pin.dimension {
73
case .overworld:
74
- return CGPoint(x: pin.position.x / 8, y: pin.position.x / 8)
+ return CGPoint(x: pin.position.x / 8, y: pin.position.y / 8)
75
case .nether:
76
- return CGPoint(x: pin.position.x * 8, y: pin.position.x * 8)
+ return CGPoint(x: pin.position.x * 8, y: pin.position.y * 8)
77
case .end:
78
return pin.position
79
}
0 commit comments