Fix #1969 Multiblock farms server-crash

This commit is contained in:
Nedelosk committed 2018-02-03 23:17:38 +01:00
1 parent 2b9b105211
commit d48fca4652
1 file changed
+1 -1
@@ -164,7 +164,7 @@ public class FarmLogicArboreal extends FarmLogicHomogeneous {
}
private boolean plantSapling(World world, IFarmHousing farmHousing, BlockPos position, FarmDirection direction) {
Collections.shuffle(farmables);
Collections.shuffle(getFarmables());
for (IFarmable candidate : getFarmables()) {
if (farmHousing.plantGermling(candidate, world, position, direction)) {
return true;