Fix #1962 Wood Pile fire spread might be a bit too aggressive

This commit is contained in:
Nedelosk committed 2018-02-16 18:51:33 +01:00
1 parent d6a5827f0b
commit eea193aa83
1 file changed
+2 -1
@@ -128,7 +128,8 @@ public class BlockWoodPile extends Block implements IItemModelRegister, IStateMa
activatePile(blockState, world, position, true);
}
} else if(world.isAirBlock(position) || !blockState.isSideSolid(world, position, facing.getOpposite()) || block.isFlammable(world, position, facing.getOpposite())){
world.setBlockState(position, Blocks.FIRE.getDefaultState());
world.setBlockState(pos, Blocks.FIRE.getDefaultState());
return;
}
}
if(rand.nextFloat() < 0.5F){