Fix #510 Multifarm reports "No farmland"

This commit is contained in:
mezz committed 2015-02-15 15:04:46 -08:00
1 parent 2fce803456
commit 272152d48e
1 file changed
+1 -1
@@ -279,7 +279,7 @@ public class TileFarmPlain extends TileFarm implements IFarmHousing, ISocketable
}
private Vect getGroundPosition(World world, FarmTarget firstTarget) {
for (int yOffset = 2; yOffset > -3; yOffset--) {
for (int yOffset = 2; yOffset > -4; yOffset--) {
Vect position = firstTarget.getStart().add(0, yOffset, 0);
Block ground = VectUtil.getBlock(world, position);
if (StructureLogicFarm.bricks.contains(ground)) {