Move go home to get getBlockPathWeight

This commit is contained in:
Nedelosk committed 2017-04-08 19:37:07 +02:00
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;
}
}