mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Fix #268 saplings not being picked up by large farms
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user