Fix #1259 crash on butterfly cocoon creation

This commit is contained in:
mezz committed 2016-05-31 00:56:21 -07:00
1 parent 7437f4f364
commit 340b04fee0
1 file changed
+1 -1
@@ -208,7 +208,7 @@ public class ButterflyRoot extends SpeciesRoot implements IButterflyRoot {
private BlockPos getNextPos(World world, BlockPos pos){
IBlockState blockState;
do {
pos.down();
pos = pos.down();
blockState = world.getBlockState(pos);
} while (!BlockUtil.canReplace(blockState, world, pos));