mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Fix crash when there is snow in the way of the farm
This commit is contained in:
1 parent
6d9211ada1
commit
cd10500a17
1 file changed
+1
-1
@@ -104,7 +104,7 @@ public abstract class FarmLogicWatered extends FarmLogic {
|
||||
break;
|
||||
}
|
||||
|
||||
if (!BlockUtil.isReplaceableBlock(state, world, platformPosition)) {
|
||||
if (!BlockUtil.isReplaceableBlock(state, world, position)) {
|
||||
produce.addAll(BlockUtil.getBlockDrops(world, position));
|
||||
world.setBlockToAir(position);
|
||||
return trySetSoil(world, farmHousing, position);
|
||||
|
||||
Reference in new issue
Block a user