mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Move go home to get getBlockPathWeight
This commit is contained in:
1 parent
c4ecdde110
commit
904293f407
6 files changed
+19
-50
No files matched your search
@@ -715,7 +715,7 @@ public class GreenhouseController extends RectangularMultiblockControllerBase im
|
||||
for(IInternalBlock block : internalBlocks){
|
||||
BlockPos pos = block.getPos();
|
||||
if(world.isAirBlock(pos)){
|
||||
if(ButterflyUtils.spawnButterfly(nursery.getCaterpillar(), world, pos)){
|
||||
if(ButterflyUtils.spawnButterflyWithoutCheck(nursery.getCaterpillar(), world, pos)){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -732,7 +732,7 @@ public class GreenhouseController extends RectangularMultiblockControllerBase im
|
||||
for(IInternalBlock block : internalBlocks){
|
||||
BlockPos pos = block.getPos();
|
||||
if(world.isAirBlock(pos)){
|
||||
if(ButterflyUtils.spawnButterfly(butterfly, world, pos)){
|
||||
if(ButterflyUtils.spawnButterflyWithoutCheck(butterfly, world, pos)){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user