mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Fix #1969 Multiblock farms server-crash
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user