mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 06:43:05 +00:00
Fix #268 saplings not being picked up by large farms
This commit is contained in:
1 parent
9a2dd32293
commit
9a46525972
1 file changed
+2
-2
@@ -869,14 +869,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