mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Fix #510 Multifarm reports "No farmland"
This commit is contained in:
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)) {
|
||||
|
||||
Reference in new issue
Block a user