File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,19 +123,19 @@ public Region getRegion() {
123123 }
124124
125125 public int getLeft () {
126- return unitData . positionX () - getType ().dimensionLeft ();
126+ return position . x - getType ().dimensionLeft ();
127127 }
128128
129129 public int getTop () {
130- return unitData . positionY () - getType ().dimensionUp ();
130+ return position . y - getType ().dimensionUp ();
131131 }
132132
133133 public int getRight () {
134- return unitData . positionX () - getType ().dimensionRight ();
134+ return position . x - getType ().dimensionRight ();
135135 }
136136
137137 public int getBottom () {
138- return unitData . positionY () - getType ().dimensionDown ();
138+ return position . y - getType ().dimensionDown ();
139139 }
140140
141141 public int getHitPoints () {
You can’t perform that action at this time.
0 commit comments