Fix #268 saplings not being picked up by large farms

This commit is contained in:
mezz committed 2014-10-05 05:46:55 -07:00
1 parent 46c4c65488
commit d510e121eb
1 file changed
+2 -2
@@ -877,14 +877,14 @@ public class TileFarmPlain extends TileFarm implements IFarmHousing, ISocketable
@Override
public int[] getOffset() {
if (offset == null)
offset = new int[] { -10, -2, -10 };
offset = new int[]{-getArea()[0] / 2, -2, -getArea()[2] / 2};
return offset;
}
@Override
public int[] getArea() {
if (area == null)
area = new int[] { 21, 13, 21 };
area = new int[] { 7 + (allowedExtent * 2), 13, 7 + (allowedExtent * 2) };
return area;
}